org.eclipse.ohf.stem.diseasemodels.standard.presentation
Class DiseasemodelsEditorAdvisor

java.lang.Object
  extended by org.eclipse.ui.application.WorkbenchAdvisor
      extended by org.eclipse.ohf.stem.diseasemodels.standard.presentation.DiseasemodelsEditorAdvisor

public final class DiseasemodelsEditorAdvisor
extends org.eclipse.ui.application.WorkbenchAdvisor

Customized WorkbenchAdvisor for the RCP application.


Nested Class Summary
static class DiseasemodelsEditorAdvisor.AboutAction
          About action for the RCP application.
static class DiseasemodelsEditorAdvisor.Application
          RCP's application
static class DiseasemodelsEditorAdvisor.OpenAction
          Open action for the objects from the Diseasemodels model.
static class DiseasemodelsEditorAdvisor.OpenURIAction
          Open URI action for the objects from the Diseasemodels model.
static class DiseasemodelsEditorAdvisor.Perspective
          RCP's perspective
static class DiseasemodelsEditorAdvisor.WindowActionBarAdvisor
          RCP's action bar advisor
static class DiseasemodelsEditorAdvisor.WindowAdvisor
          RCP's window advisor
 
Field Summary
 
Fields inherited from class org.eclipse.ui.application.WorkbenchAdvisor
FILL_COOL_BAR, FILL_MENU_BAR, FILL_PROXY, FILL_STATUS_LINE
 
Constructor Summary
DiseasemodelsEditorAdvisor()
           
 
Method Summary
 org.eclipse.ui.application.WorkbenchWindowAdvisor createWorkbenchWindowAdvisor(org.eclipse.ui.application.IWorkbenchWindowConfigurer configurer)
           
 java.lang.String getInitialWindowPerspectiveId()
           
 void initialize(org.eclipse.ui.application.IWorkbenchConfigurer configurer)
           
static boolean openEditor(org.eclipse.ui.IWorkbench workbench, org.eclipse.emf.common.util.URI fileURI)
           
static java.lang.String openFilePathDialog(org.eclipse.swt.widgets.Shell shell, java.lang.String fileExtensionFilter, int style)
           
 
Methods inherited from class org.eclipse.ui.application.WorkbenchAdvisor
createWindowContents, eventLoopException, eventLoopIdle, fillActionBars, getDefaultPageInput, getMainPreferencePageId, getWorkbenchErrorHandler, internalBasicInitialize, isApplicationMenu, openIntro, openWindows, postShutdown, postStartup, postWindowClose, postWindowCreate, postWindowOpen, postWindowRestore, preShutdown, preStartup, preWindowOpen, preWindowShellClose, restoreState, saveState
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiseasemodelsEditorAdvisor

public DiseasemodelsEditorAdvisor()
Method Detail

openFilePathDialog

public static java.lang.String openFilePathDialog(org.eclipse.swt.widgets.Shell shell,
                                                  java.lang.String fileExtensionFilter,
                                                  int style)


openEditor

public static boolean openEditor(org.eclipse.ui.IWorkbench workbench,
                                 org.eclipse.emf.common.util.URI fileURI)


getInitialWindowPerspectiveId

public java.lang.String getInitialWindowPerspectiveId()
Specified by:
getInitialWindowPerspectiveId in class org.eclipse.ui.application.WorkbenchAdvisor
See Also:

initialize

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

createWorkbenchWindowAdvisor

public org.eclipse.ui.application.WorkbenchWindowAdvisor createWorkbenchWindowAdvisor(org.eclipse.ui.application.IWorkbenchWindowConfigurer configurer)
Overrides:
createWorkbenchWindowAdvisor in class org.eclipse.ui.application.WorkbenchAdvisor
See Also: