de.cau.cs.kieler.klots.editor
Class KlotsEditorContributor
java.lang.Object
org.eclipse.ui.part.EditorActionBarContributor
de.cau.cs.kieler.klots.editor.KlotsEditorContributor
- All Implemented Interfaces:
- IEditorActionBarContributor
public class KlotsEditorContributor
- extends EditorActionBarContributor
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.
- Rating

Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KlotsEditorContributor
public KlotsEditorContributor()
- Creates a multi-page contributor.
getAction
protected IAction getAction(ITextEditor editor,
String actionID)
- Returns the action registed with the given text editor.
- Parameters:
editor
- actionID
-
- Returns:
- IAction or null if editor is null.
setActivePage
public void setActivePage(IEditorPart part)
-
contributeToToolBar
public void contributeToToolBar(IToolBarManager manager)
-
- Overrides:
contributeToToolBar
in class EditorActionBarContributor