net.officefloor.eclipse.common.editor
Class CoreEditorActionContributor
java.lang.Object
net.officefloor.eclipse.common.editor.CoreEditorActionContributor
- All Implemented Interfaces:
- org.eclipse.ui.IEditorActionBarContributor
public class CoreEditorActionContributor
- extends Object
- implements org.eclipse.ui.IEditorActionBarContributor
IEditorActionBarContributor for the DeskEditor.
- Author:
- Daniel Sagenschneider
|
Method Summary |
void |
dispose()
|
protected void |
hookInAction(org.eclipse.ui.actions.ActionFactory actionFactory,
org.eclipse.ui.IEditorPart targetEditor)
Hooks in the IAction. |
protected void |
hookInActions(org.eclipse.ui.IEditorPart targetEditor)
Hook in the IAction instances. |
void |
init(org.eclipse.ui.IActionBars bars,
org.eclipse.ui.IWorkbenchPage page)
|
void |
setActiveEditor(org.eclipse.ui.IEditorPart targetEditor)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CoreEditorActionContributor
public CoreEditorActionContributor()
init
public void init(org.eclipse.ui.IActionBars bars,
org.eclipse.ui.IWorkbenchPage page)
- Specified by:
init in interface org.eclipse.ui.IEditorActionBarContributor
setActiveEditor
public void setActiveEditor(org.eclipse.ui.IEditorPart targetEditor)
- Specified by:
setActiveEditor in interface org.eclipse.ui.IEditorActionBarContributor
hookInActions
protected void hookInActions(org.eclipse.ui.IEditorPart targetEditor)
- Hook in the
IAction instances.
- Parameters:
targetEditor - IEditorPart.
hookInAction
protected void hookInAction(org.eclipse.ui.actions.ActionFactory actionFactory,
org.eclipse.ui.IEditorPart targetEditor)
- Hooks in the
IAction.
- Parameters:
actionFactory - ActionFactory specifying the IAction.targetEditor - IEditorPart.
dispose
public void dispose()
- Specified by:
dispose in interface org.eclipse.ui.IEditorActionBarContributor
Copyright © 2005-2013. All Rights Reserved.