org.eclipse.ercp.update.views
Class NormalView
java.lang.Object
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
org.eclipse.ercp.update.views.NormalView
- All Implemented Interfaces:
- IAdaptable, IExecutableExtension, IPersistable, IViewPart, IWorkbenchPart, IWorkbenchPart2, IWorkbenchPartOrientation
public class NormalView
- extends ViewPart
Method Summary |
void |
createPartControl(Composite parent)
This is a callback that will allow us to create the viewer and initialize
it. |
void |
refreshInstalledFeatures()
refresh the Vector installedFeatures |
void |
setFocus()
Passing the focus request to the viewer's control. |
void |
showScreen(int screen,
boolean refresh)
Set and show the assigned screen on top |
Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
addPropertyListener, dispose, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parent
public Composite parent
ROOT_SCREEN
protected final int ROOT_SCREEN
- See Also:
- Constant Field Values
BOOKMARKS_SCREEN
protected final int BOOKMARKS_SCREEN
- See Also:
- Constant Field Values
SELECT_FEATURES_SCREEN
protected final int SELECT_FEATURES_SCREEN
- See Also:
- Constant Field Values
LICENSE_SCREEN
protected final int LICENSE_SCREEN
- See Also:
- Constant Field Values
INSTALLING_SCREEN
protected final int INSTALLING_SCREEN
- See Also:
- Constant Field Values
ADD_BOOKMARK_SCREEN
protected final int ADD_BOOKMARK_SCREEN
- See Also:
- Constant Field Values
ADD_REMOTE_SCREEN
protected final int ADD_REMOTE_SCREEN
- See Also:
- Constant Field Values
ADD_LOCAL_SCREEN
protected final int ADD_LOCAL_SCREEN
- See Also:
- Constant Field Values
EDIT_BOOKMARK_SCREEN
protected final int EDIT_BOOKMARK_SCREEN
- See Also:
- Constant Field Values
UPDATING_SCREEN
protected final int UPDATING_SCREEN
- See Also:
- Constant Field Values
MANAGE_SCREEN
protected final int MANAGE_SCREEN
- See Also:
- Constant Field Values
PROPERTIES_SCREEN
protected final int PROPERTIES_SCREEN
- See Also:
- Constant Field Values
UNINSTALL_SCREEN
protected final int UNINSTALL_SCREEN
- See Also:
- Constant Field Values
REFRESH_IT
protected final boolean REFRESH_IT
- See Also:
- Constant Field Values
NO_REFRESH
protected final boolean NO_REFRESH
- See Also:
- Constant Field Values
bookmarkFile
protected java.lang.String bookmarkFile
currentName
protected java.lang.String currentName
viewedTree
protected java.util.Vector viewedTree
availableFeatures
protected java.util.Vector availableFeatures
deletedFeatures
protected java.util.Vector deletedFeatures
installedFeatures
protected java.util.Vector installedFeatures
targetSite
protected IConfiguredSite targetSite
enableRestartCommand
protected boolean enableRestartCommand
RuntimeName
public java.lang.String[] RuntimeName
NormalView
public NormalView()
- The constructor.
createPartControl
public void createPartControl(Composite parent)
- This is a callback that will allow us to create the viewer and initialize
it.
- Specified by:
createPartControl
in interface IWorkbenchPart
- Specified by:
createPartControl
in class WorkbenchPart
- Parameters:
parent
- the parent control
setFocus
public void setFocus()
- Passing the focus request to the viewer's control.
- Specified by:
setFocus
in interface IWorkbenchPart
- Specified by:
setFocus
in class WorkbenchPart
showScreen
public void showScreen(int screen,
boolean refresh)
- Set and show the assigned screen on top
- Parameters:
screen
- the ID of the assigned screen.refresh
- boolean value to refresh the cache for this screen, or not.
refreshInstalledFeatures
public void refreshInstalledFeatures()
- refresh the Vector installedFeatures