|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.application.WorkbenchAdvisor
org.eclipse.ercp.eworkbench.eWorkbenchAdvisor
public class eWorkbenchAdvisor
Constructor Summary | |
---|---|
eWorkbenchAdvisor()
|
Method Summary | |
---|---|
java.lang.String |
getInitialWindowPerspectiveId()
Returns the id of the perspective to use for the initial workbench org.eclipse.jface.window, or null if no initial perspective should be shown in the initial
workbench org.eclipse.jface.window. |
void |
preWindowOpen(IWorkbenchWindowConfigurer configurer)
Performs arbitrary actions before the given workbench org.eclipse.jface.window is opened. |
Methods inherited from class org.eclipse.ui.application.WorkbenchAdvisor |
---|
createEmptyWindowContents, createWindowContents, createWorkbenchWindowAdvisor, eventLoopException, eventLoopIdle, getDefaultPageInput, getMainPreferencePageId, getWorkbenchConfigurer, initialize, internalBasicInitialize, isApplicationMenu, openIntro, openWindows, postShutdown, postStartup, postWindowClose, postWindowCreate, postWindowOpen, postWindowRestore, preShutdown, preStartup, preWindowShellClose |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public eWorkbenchAdvisor()
Method Detail |
---|
public java.lang.String getInitialWindowPerspectiveId()
WorkbenchAdvisor
null
if no initial perspective should be shown in the initial
workbench org.eclipse.jface.window.
This method is called during startup when the workbench is creating the first new org.eclipse.jface.window. Subclasses must implement.
If the IWorkbenchPreferenceConstants.DEFAULT_PERSPECTIVE_ID
org.eclipse.jface.preference
is specified, it supercedes the perspective specified here.
getInitialWindowPerspectiveId
in class WorkbenchAdvisor
null
if no initial perspective should be shownpublic void preWindowOpen(IWorkbenchWindowConfigurer configurer)
WorkbenchAdvisor
This method is called before the org.eclipse.jface.window's controls have been created.
Clients must not call this method directly (although super calls are okay).
The default implementation does nothing. Subclasses may override.
Typical clients will use the configurer passed in to tweak the
workbench org.eclipse.jface.window in an application-specific way; however, filling the
org.eclipse.jface.window's menu bar, tool bar, and status line must be done in
fillActionBars
, which is called immediately
after this method is called.
preWindowOpen
in class WorkbenchAdvisor
configurer
- an object for configuring the particular workbench
org.eclipse.jface.window being openedWorkbenchAdvisor.createWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |