Class ApplicationWorkbenchAdvisor


  • public class ApplicationWorkbenchAdvisor
    extends org.eclipse.ui.application.WorkbenchAdvisor
    Class for configuring the workbench.
    Author:
    Holger Eichelberger
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String PERSPECTIVE_ID  
      • Fields inherited from class org.eclipse.ui.application.WorkbenchAdvisor

        FILL_COOL_BAR, FILL_MENU_BAR, FILL_PROXY, FILL_STATUS_LINE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.eclipse.ui.application.WorkbenchWindowAdvisor createWorkbenchWindowAdvisor​(org.eclipse.ui.application.IWorkbenchWindowConfigurer configurer)
      Instantiates and returns an workbenchWindowAdvisor for the given configurer.
      java.lang.String getInitialWindowPerspectiveId()
      Returns the PERSPECTIVE_ID.
      void initialize​(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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ApplicationWorkbenchAdvisor

        public ApplicationWorkbenchAdvisor()
    • 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:
        createWorkbenchWindowAdvisor in class org.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:
        getInitialWindowPerspectiveId in class org.eclipse.ui.application.WorkbenchAdvisor
        Returns:
        The public declared field holding the perspectives-id.
      • initialize

        public void initialize​(org.eclipse.ui.application.IWorkbenchConfigurer configurer)
        Overrides:
        initialize in class org.eclipse.ui.application.WorkbenchAdvisor