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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
-
Constructor Details
-
FXEditorActionBarContributor
public FXEditorActionBarContributor()
-
-
Method Details
-
registerUndoRedoActions
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
- Specified by:
setActiveEditor
in interfaceIEditorActionBarContributor
- Overrides:
setActiveEditor
in classEditorActionBarContributor
-