org.eclipse.ercp.update.views
Class NormalView

java.lang.Object
  extended by org.eclipse.ui.part.WorkbenchPart
      extended by org.eclipse.ui.part.ViewPart
          extended by org.eclipse.ercp.update.views.NormalView
All Implemented Interfaces:
IAdaptable, IExecutableExtension, IPersistable, IViewPart, IWorkbenchPart, IWorkbenchPart2, IWorkbenchPartOrientation

public class NormalView
extends ViewPart


Field Summary
protected  int ADD_BOOKMARK_SCREEN
           
protected  int ADD_LOCAL_SCREEN
           
protected  int ADD_REMOTE_SCREEN
           
protected  java.util.Vector availableFeatures
           
protected  java.lang.String bookmarkFile
           
protected  int BOOKMARKS_SCREEN
           
protected  java.lang.String currentName
           
protected  java.util.Vector deletedFeatures
           
protected  int EDIT_BOOKMARK_SCREEN
           
protected  boolean enableRestartCommand
           
protected  java.util.Vector installedFeatures
           
protected  int INSTALLING_SCREEN
           
protected  boolean isSmartPhone
           
protected  boolean isSoftKeySupported
           
protected  int LICENSE_SCREEN
           
protected  int MANAGE_SCREEN
           
protected  boolean NO_REFRESH
           
 Composite parent
           
protected  int PROPERTIES_SCREEN
           
protected  boolean REFRESH_IT
           
protected  int ROOT_SCREEN
           
 java.lang.String[] RuntimeName
           
protected  int SELECT_FEATURES_SCREEN
           
protected  IConfiguredSite targetSite
           
protected  int UNINSTALL_SCREEN
           
protected  int UPDATING_SCREEN
           
protected  java.util.Vector viewedTree
           
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Constructor Summary
NormalView()
          The constructor.
 
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.ViewPart
checkSite, getViewSite, init, init, saveState, setContentDescription, setInitializationData, setPartName
 
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
 
Methods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Field Detail

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

isSmartPhone

protected boolean isSmartPhone

isSoftKeySupported

protected boolean isSoftKeySupported

RuntimeName

public java.lang.String[] RuntimeName
Constructor Detail

NormalView

public NormalView()
The constructor.

Method Detail

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