1609
|
1 |
/*
|
|
2 |
* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of the License "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description:
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
package com.nokia.carbide.internal.discovery.ui.extension;
|
|
18 |
|
|
19 |
import org.eclipse.swt.widgets.Composite;
|
|
20 |
import org.eclipse.swt.widgets.Control;
|
|
21 |
import org.eclipse.ui.IEditorPart;
|
|
22 |
|
|
23 |
/**
|
1705
|
24 |
* Interface to a portal page layer extension
|
1609
|
25 |
*/
|
1734
|
26 |
public interface IPortalPageLayer extends ICommandBarFactory {
|
1609
|
27 |
|
|
28 |
/**
|
1705
|
29 |
* Called to create the control for the portal page layer
|
1609
|
30 |
* @param parent Composite
|
|
31 |
* @param part IEditorPart
|
|
32 |
* @return Control
|
|
33 |
*/
|
|
34 |
Control createControl(Composite parent, IEditorPart part);
|
|
35 |
|
|
36 |
/**
|
1705
|
37 |
* Called to initialize the portal page layer when shown for the first time
|
1609
|
38 |
*/
|
|
39 |
void init();
|
|
40 |
|
|
41 |
/**
|
1705
|
42 |
* Called to dispose internal resources of the portal page layer
|
1609
|
43 |
*/
|
|
44 |
void dispose();
|
|
45 |
}
|