Package com._1c.g5.v8.dt.moxel.ui.editor
Class MoxelEditorActionBarContributor
- java.lang.Object
-
- org.eclipse.ui.part.EditorActionBarContributor
-
- com._1c.g5.v8.dt.moxel.ui.editor.MoxelEditorActionBarContributor
-
- All Implemented Interfaces:
ISelectionChangedListener
,org.eclipse.ui.IEditorActionBarContributor
public class MoxelEditorActionBarContributor extends org.eclipse.ui.part.EditorActionBarContributor implements ISelectionChangedListener
Contributor class for moxel editor
-
-
Field Summary
Fields Modifier and Type Field Description protected ISelectionProvider
selectionProvider
-
Constructor Summary
Constructors Constructor Description MoxelEditorActionBarContributor()
Creates new instance ofMoxelEditorActionBarContributor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
contributeToToolBar(org.eclipse.jface.action.IToolBarManager toolBarManager)
void
dispose()
protected org.eclipse.jface.action.IAction
getAction(MoxelEditor editor, String actionId)
protected org.eclipse.jface.action.IAction
getAction(org.eclipse.ui.texteditor.ITextEditor editor, String actionId)
void
selectionChanged(SelectionChangedEvent event)
void
setActiveEditor(org.eclipse.ui.IEditorPart part)
-
-
-
Field Detail
-
selectionProvider
protected ISelectionProvider selectionProvider
-
-
Constructor Detail
-
MoxelEditorActionBarContributor
public MoxelEditorActionBarContributor()
Creates new instance ofMoxelEditorActionBarContributor
-
-
Method Detail
-
setActiveEditor
public void setActiveEditor(org.eclipse.ui.IEditorPart part)
- Specified by:
setActiveEditor
in interfaceorg.eclipse.ui.IEditorActionBarContributor
- Overrides:
setActiveEditor
in classorg.eclipse.ui.part.EditorActionBarContributor
-
contributeToToolBar
public void contributeToToolBar(org.eclipse.jface.action.IToolBarManager toolBarManager)
- Overrides:
contributeToToolBar
in classorg.eclipse.ui.part.EditorActionBarContributor
-
selectionChanged
public void selectionChanged(SelectionChangedEvent event)
- Specified by:
selectionChanged
in interfaceISelectionChangedListener
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceorg.eclipse.ui.IEditorActionBarContributor
- Overrides:
dispose
in classorg.eclipse.ui.part.EditorActionBarContributor
-
getAction
protected final org.eclipse.jface.action.IAction getAction(MoxelEditor editor, String actionId)
-
getAction
protected final org.eclipse.jface.action.IAction getAction(org.eclipse.ui.texteditor.ITextEditor editor, String actionId)
-
-