public class FXEditorActionBarContributor extends EditorActionBarContributor
Constructor and Description |
---|
FXEditorActionBarContributor() |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
void |
init(IActionBars actionBars) |
protected void |
registerUndoRedoActions(IEditorPart targetEditor)
Registers undo and redo action handlers for the given target editor.
|
void |
setActiveEditor(IEditorPart activeEditor) |
contributeToCoolBar, contributeToMenu, contributeToStatusLine, contributeToToolBar, getActionBars, getPage, init
public void dispose()
dispose
in interface IEditorActionBarContributor
dispose
in class EditorActionBarContributor
public void init(IActionBars actionBars)
init
in class EditorActionBarContributor
protected void registerUndoRedoActions(IEditorPart targetEditor)
UndoRedoActionGroup
, which is
used to fill the action bars.targetEditor
- The editor to register undo and redo action handlers for.public void setActiveEditor(IEditorPart activeEditor)
setActiveEditor
in interface IEditorActionBarContributor
setActiveEditor
in class EditorActionBarContributor
Copyright (c) 2014 itemis AG and others. All rights reserved.