ist.palcom.eclipse.browserplugin.editors
Class AssemblyEditorContributor
java.lang.Object
MultiPageEditorActionBarContributor
ist.palcom.eclipse.browserplugin.editors.AssemblyEditorContributor
public class AssemblyEditorContributor
- extends MultiPageEditorActionBarContributor
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssemblyEditorContributor
public AssemblyEditorContributor()
- Creates a multi-page contributor.
getAction
protected IAction getAction(ITextEditor editor,
java.lang.String actionID)
- Returns the action registed with the given text editor.
- Returns:
- IAction or null if editor is null.
setActivePage
public void setActivePage(IEditorPart part)
contributeToMenu
public void contributeToMenu(IMenuManager manager)
contributeToToolBar
public void contributeToToolBar(IToolBarManager manager)