Package org.eclipse.gef.mvc.fx.ui.parts
Class FXEditorActionBarContributor
- java.lang.Object
-
- org.eclipse.ui.part.EditorActionBarContributor
-
- org.eclipse.gef.mvc.fx.ui.parts.FXEditorActionBarContributor
-
- All Implemented Interfaces:
IEditorActionBarContributor
public class FXEditorActionBarContributor extends EditorActionBarContributor
-
-
Constructor Summary
Constructors Constructor Description FXEditorActionBarContributor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
registerUndoRedoActions(IEditorPart targetEditor)
Registers undo and redo action handlers for the given target editor.void
setActiveEditor(IEditorPart activeEditor)
-
Methods inherited from class org.eclipse.ui.part.EditorActionBarContributor
contributeToCoolBar, contributeToMenu, contributeToStatusLine, contributeToToolBar, dispose, getActionBars, getPage, init, init
-
-
-
-
Method Detail
-
registerUndoRedoActions
protected void registerUndoRedoActions(IEditorPart targetEditor)
Registers undo and redo action handlers for the given target editor. The target editor is adapted for anUndoRedoActionGroup
, which is used to fill the action bars.- Parameters:
targetEditor
- The editor to register undo and redo action handlers for.
-
setActiveEditor
public void setActiveEditor(IEditorPart activeEditor)
- Specified by:
setActiveEditor
in interfaceIEditorActionBarContributor
- Overrides:
setActiveEditor
in classEditorActionBarContributor
-
-