Note: The caller is responsible to ensure the action using this method will explicitly inform the user a new window will be opened. Otherwise, callers are strongly recommended to use the openPerspective
APIs to programmatically show a perspective to avoid confusing the user.
In most cases where this method is used the caller is tightly coupled to a particular perspective. They define it in the registry and contribute some user interface action to open or activate it. In situations like this a static variable is often used to identify the perspective ID.
@param perspectiveId the perspective id for the window's initial page, ornull
for no initial page
@param input the page input, or null
if there is no current input. This is used to seed the input for the new page's views.
@return the new workbench window
@exception WorkbenchException if a new window and page could not be opened
@see IWorkbench#showPerspective(String,IWorkbenchWindow,IAdaptable)
|
|
|
|