Method Summary |
|
final public void | activate() Notifies the multi page editor service that the component within which it
exists has become active. |
final public void | deactivate() Notifies the multi page editor service that the component within which it
exists has been deactived. |
public void | dispose() Dispose the contributions. |
public IEditorActionBarContributor | getActionBarContributor() The MultiPageEditorSite implementation of this
IEditorSite method returns null , since
nested editors do not have their own action bar contributor. |
public IActionBars | getActionBars() The MultiPageEditorSite implementation of this
IEditorSite method forwards to the multi-page editor to
return the action bars. |
public Object | getAdapter(Class adapter) |
public ILabelDecorator | getDecoratorManager() The MultiPageEditorSite implementation of this
IWorkbenchPartSite method forwards to the multi-page
editor to return the decorator manager. |
public IEditorPart | getEditor() Returns the nested editor. |
public String | getId() The MultiPageEditorSite implementation of this
IWorkbenchPartSite method returns an empty string since
the nested editor is not created from the registry. |
public IKeyBindingService | getKeyBindingService() |
public MultiPageEditorPart | getMultiPageEditor() Returns the multi-page editor. |
public IWorkbenchPage | getPage() The MultiPageEditorSite implementation of this
IWorkbenchPartSite method forwards to the multi-page
editor to return the workbench page. |
public IWorkbenchPart | getPart() |
public String | getPluginId() The MultiPageEditorSite implementation of this
IWorkbenchPartSite method returns an empty string since
the nested editor is not created from the registry. |
public String | getRegisteredName() The MultiPageEditorSite implementation of this
IWorkbenchPartSite method returns an empty string since
the nested editor is not created from the registry. |
public ISelectionProvider | getSelectionProvider() The MultiPageEditorSite implementation of this
IWorkbenchPartSite method returns the selection provider
set by setSelectionProvider . |
final public Object | getService(Class key) |
public Shell | getShell() The MultiPageEditorSite implementation of this
IWorkbenchPartSite method forwards to the multi-page
editor to return the shell. |
public IWorkbenchWindow | getWorkbenchWindow() The MultiPageEditorSite implementation of this
IWorkbenchPartSite method forwards to the multi-page
editor to return the workbench window. |
protected void | handlePostSelectionChanged(SelectionChangedEvent event) Handles a post selection changed even from the nexted editor. |
protected void | handleSelectionChanged(SelectionChangedEvent event) Handles a selection changed event from the nested editor. |
final public boolean | hasService(Class key) |
public void | registerContextMenu(MenuManager menuManager, ISelectionProvider selProvider) The MultiPageEditorSite implementation of this
IWorkbenchPartSite method forwards to the multi-page
editor for registration. |
final public void | registerContextMenu(MenuManager menuManager, ISelectionProvider selectionProvider, boolean includeEditorInput) |
public void | registerContextMenu(String menuID, MenuManager menuMgr, ISelectionProvider selProvider) The MultiPageEditorSite implementation of this
IWorkbenchPartSite method forwards to the multi-page
editor for registration. |
final public void | registerContextMenu(String menuId, MenuManager menuManager, ISelectionProvider selectionProvider, boolean includeEditorInput) |
public void | setSelectionProvider(ISelectionProvider provider) The MultiPageEditorSite implementation of this
IWorkbenchPartSite method remembers the selection
provider, and also hooks a listener on it, which calls
handleSelectionChanged when a selection changed event
occurs. |