|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRemoteWorkbench
Remote API Wrapper for the org.eclipse.ui.IWorkbench
(Online documentation)
Original documentation:
A workbench is the root object for the Eclipse Platform user interface.
A workbench has one or more main windows which present to the end user information based on some underlying model,
typically on resources in an underlying workspace. A workbench usually starts with a single open window, and
automatically closes when its last window closes.
Each workbench window has a collection of pages; the active page is the one that is being presented to the
end user; at most one page is active in a window at a time.
Each workbench page has a collection of workbench parts, of which there are two kinds: views and editors.
A page's parts are arranged (tiled or stacked) for presentation on the screen. The arrangement is not
fixed; the user can arrange the parts as they see fit. A perspective is a template for a page,
capturing a collection of parts and their arrangement.
The platform creates a workbench when the workbench plug-in is activated; since this happens
at most once during the life of the running platform, there is only one workbench instance.
Due to its singular nature, it is commonly referred to as the workbench.
Method Summary | |
---|---|
IRemoteWorkbenchWindow |
getActiveWorkbenchWindow()
Returns the currently active window for this workbench (if any). |
IRemoteAdaptable |
getDefaultPageInput()
|
IRemotePerspectiveRegistry |
getPerspectiveRegistry()
Returns the perspective registry for the workbench. |
IRemoteWorkbenchWindow[] |
getWorkbenchWindows()
Returns a list of the open main windows associated with this workbench. |
IRemoteWorkbenchWindow |
openWorkbenchWindow(java.lang.String perspectiveId,
IRemoteAdaptable input)
Creates and opens a new workbench window with one page. |
IRemoteWorkbenchPage |
showPerspective(java.lang.String perspectiveId,
IRemoteWorkbenchWindow window)
Shows the specified perspective to the user. |
Methods inherited from interface com.mindoo.remote.api.org.eclipse.ui.services.IRemoteServiceLocator |
---|
getService, hasService |
Methods inherited from interface com.mindoo.remote.api.IRemoteEclipseWrapper |
---|
_internalGetId, equalWrappedObjects |
Method Detail |
---|
IRemoteWorkbenchWindow getActiveWorkbenchWindow() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemoteWorkbenchWindow[] getWorkbenchWindows() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemotePerspectiveRegistry getPerspectiveRegistry() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemoteWorkbenchPage showPerspective(java.lang.String perspectiveId, IRemoteWorkbenchWindow window) throws RemoteEclipseAPIException
perspectiveId
- the perspective ID to showwindow
- the workbench window of the action calling this method.
RemoteEclipseAPIException
IRemoteWorkbenchWindow openWorkbenchWindow(java.lang.String perspectiveId, IRemoteAdaptable input) throws RemoteEclipseAPIException
perspectiveId
- the perspective id for the window's initial page, or null for no initial pageinput
- the page input, or null if there is no current input. This is used to seed the input for the new page's views.
RemoteEclipseAPIException
IRemoteAdaptable getDefaultPageInput() throws RemoteEclipseAPIException
RemoteEclipseAPIException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |