Class ApplicationWorkbenchAdvisor
- java.lang.Object
-
- org.eclipse.ui.application.WorkbenchAdvisor
-
- net.ssehub.easy.producer.ui.application.ApplicationWorkbenchAdvisor
-
public class ApplicationWorkbenchAdvisor extends org.eclipse.ui.application.WorkbenchAdvisorClass for configuring the workbench.- Author:
- Holger Eichelberger
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPERSPECTIVE_ID
-
Constructor Summary
Constructors Constructor Description ApplicationWorkbenchAdvisor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.ui.application.WorkbenchWindowAdvisorcreateWorkbenchWindowAdvisor(org.eclipse.ui.application.IWorkbenchWindowConfigurer configurer)Instantiates and returns an workbenchWindowAdvisor for the given configurer.java.lang.StringgetInitialWindowPerspectiveId()Returns the PERSPECTIVE_ID.voidinitialize(org.eclipse.ui.application.IWorkbenchConfigurer configurer)-
Methods inherited from class org.eclipse.ui.application.WorkbenchAdvisor
createWindowContents, eventLoopException, eventLoopIdle, fillActionBars, getComparatorFor, getDefaultPageInput, getMainPreferencePageId, getWorkbenchConfigurer, getWorkbenchErrorHandler, internalBasicInitialize, isApplicationMenu, openIntro, openWindows, postShutdown, postStartup, postWindowClose, postWindowCreate, postWindowOpen, postWindowRestore, preShutdown, preStartup, preWindowOpen, preWindowShellClose, restoreState, saveState
-
-
-
-
Field Detail
-
PERSPECTIVE_ID
public static final java.lang.String PERSPECTIVE_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
createWorkbenchWindowAdvisor
public org.eclipse.ui.application.WorkbenchWindowAdvisor createWorkbenchWindowAdvisor(org.eclipse.ui.application.IWorkbenchWindowConfigurer configurer)
Instantiates and returns an workbenchWindowAdvisor for the given configurer.- Overrides:
createWorkbenchWindowAdvisorin classorg.eclipse.ui.application.WorkbenchAdvisor- Parameters:
configurer- Given configurer.- Returns:
- the ApplicationWorkbenchWindowAdvisor to the given configurer.
-
getInitialWindowPerspectiveId
public java.lang.String getInitialWindowPerspectiveId()
Returns the PERSPECTIVE_ID.- Specified by:
getInitialWindowPerspectiveIdin classorg.eclipse.ui.application.WorkbenchAdvisor- Returns:
- The public declared field holding the perspectives-id.
-
initialize
public void initialize(org.eclipse.ui.application.IWorkbenchConfigurer configurer)
- Overrides:
initializein classorg.eclipse.ui.application.WorkbenchAdvisor
-
-