org.eclipse.gmt.umlx.editor.actions
Class MultiSheetEditorContributor
java.lang.Object
org.eclipse.ui.part.EditorActionBarContributor
org.eclipse.ui.part.MultiPageEditorActionBarContributor
org.eclipse.gmt.umlx.editor.actions.MultiPageActionBarContributor
org.eclipse.gmt.umlx.editor.actions.MultiSheetEditorContributor
- All Implemented Interfaces:
- org.eclipse.ui.IEditorActionBarContributor
public class MultiSheetEditorContributor
- extends MultiPageActionBarContributor
Manages the installation/deinstallation of global actions for multi-page editors.
Responsible for the redirection of global actions to the active editor.
Multi-page contributor replaces the contributors for the individual editors in the multi-page editor.
Methods inherited from class org.eclipse.ui.part.EditorActionBarContributor |
contributeToCoolBar, contributeToStatusLine, getActionBars, getPage, init |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiSheetEditorContributor
public MultiSheetEditorContributor()
- Creates a multi-page contributor.
contributeToMenu
public void contributeToMenu(org.eclipse.jface.action.IMenuManager menubar)
- Overrides:
contributeToMenu
in class org.eclipse.ui.part.EditorActionBarContributor
contributeToToolBar
public void contributeToToolBar(org.eclipse.jface.action.IToolBarManager manager)
- Overrides:
contributeToToolBar
in class org.eclipse.ui.part.EditorActionBarContributor
dispose
public void dispose()
- Description copied from class:
MultiPageActionBarContributor
- Disposes the contributor. Removes all
RetargetAction
s that were IPartListener
s on the IWorkbenchPage
and
disposes them. Also disposes the action registry.
Subclasses may extend this method to perform additional cleanup.
- Specified by:
dispose
in interface org.eclipse.ui.IEditorActionBarContributor
- Overrides:
dispose
in class MultiPageActionBarContributor
- See Also:
EditorActionBarContributor.dispose()
setActiveEditor
public void setActiveEditor(org.eclipse.ui.IEditorPart part)
- Specified by:
setActiveEditor
in interface org.eclipse.ui.IEditorActionBarContributor
- Overrides:
setActiveEditor
in class org.eclipse.ui.part.MultiPageEditorActionBarContributor
setActivePage
public void setActivePage(org.eclipse.ui.IEditorPart part)
- Overrides:
setActivePage
in class MultiPageActionBarContributor
- See Also:
IEditorActionBarContributor.setActiveEditor(IEditorPart)