org.formaria.editor.eclipse.project.pages
Class AriaPageEditorContributor
java.lang.Object
MultiPageEditorActionBarContributor
org.formaria.editor.eclipse.project.pages.AriaPageEditorContributor
public class AriaPageEditorContributor
- 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 |
AriaPageEditorContributor
public AriaPageEditorContributor()
- 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)