public class ApplicationWorkbenchAdvisor
extends org.eclipse.ui.application.WorkbenchAdvisor
ApplicationWorkbenchAdvisor
controls the appearance of the
application (menus, toolbars, perspectives, etc).Constructor and Description |
---|
ApplicationWorkbenchAdvisor(OpenDocumentEventProcessor openDocProcessor,
LaunchAction action)
Create the application workbench advisor
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.ui.application.WorkbenchWindowAdvisor |
createWorkbenchWindowAdvisor(org.eclipse.ui.application.IWorkbenchWindowConfigurer configurer) |
void |
eventLoopIdle(org.eclipse.swt.widgets.Display display) |
String |
getInitialWindowPerspectiveId() |
void |
initialize(org.eclipse.ui.application.IWorkbenchConfigurer configurer) |
boolean |
preShutdown() |
org.eclipse.core.runtime.IStatus |
restoreState(org.eclipse.ui.IMemento memento) |
org.eclipse.core.runtime.IStatus |
saveState(org.eclipse.ui.IMemento memento) |
createWindowContents, eventLoopException, fillActionBars, getComparatorFor, getDefaultPageInput, getMainPreferencePageId, getWorkbenchConfigurer, getWorkbenchErrorHandler, internalBasicInitialize, isApplicationMenu, openIntro, openWindows, postShutdown, postStartup, postWindowClose, postWindowCreate, postWindowOpen, postWindowRestore, preStartup, preWindowOpen, preWindowShellClose
public ApplicationWorkbenchAdvisor(OpenDocumentEventProcessor openDocProcessor, LaunchAction action)
openDocProcessor
- the processor for SWT.OpenDocument
eventsaction
- the application launch action, may be null
public org.eclipse.ui.application.WorkbenchWindowAdvisor createWorkbenchWindowAdvisor(org.eclipse.ui.application.IWorkbenchWindowConfigurer configurer)
createWorkbenchWindowAdvisor
in class org.eclipse.ui.application.WorkbenchAdvisor
WorkbenchAdvisor.createWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer)
public String getInitialWindowPerspectiveId()
getInitialWindowPerspectiveId
in class org.eclipse.ui.application.WorkbenchAdvisor
WorkbenchAdvisor.getInitialWindowPerspectiveId()
public void initialize(org.eclipse.ui.application.IWorkbenchConfigurer configurer)
initialize
in class org.eclipse.ui.application.WorkbenchAdvisor
WorkbenchAdvisor.initialize(IWorkbenchConfigurer)
public void eventLoopIdle(org.eclipse.swt.widgets.Display display)
eventLoopIdle
in class org.eclipse.ui.application.WorkbenchAdvisor
WorkbenchAdvisor.eventLoopIdle(Display)
public boolean preShutdown()
preShutdown
in class org.eclipse.ui.application.WorkbenchAdvisor
WorkbenchAdvisor.preShutdown()
public org.eclipse.core.runtime.IStatus restoreState(org.eclipse.ui.IMemento memento)
restoreState
in class org.eclipse.ui.application.WorkbenchAdvisor
WorkbenchAdvisor.restoreState(IMemento)
public org.eclipse.core.runtime.IStatus saveState(org.eclipse.ui.IMemento memento)
saveState
in class org.eclipse.ui.application.WorkbenchAdvisor
WorkbenchAdvisor.saveState(IMemento)
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a