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 voidregisterUndoRedoActions(IEditorPart targetEditor) Registers undo and redo action handlers for the given target editor.voidsetActiveEditor(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:
setActiveEditorin interfaceIEditorActionBarContributor- Overrides:
setActiveEditorin classEditorActionBarContributor
-