|
Eclipse GEF 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.ui.part.EditorActionBarContributor | +--org.eclipse.gef.ui.actions.ActionBarContributor
Contributes actions to the workbench. !!Warning: This class is subject to change.
Constructor Summary | |
ActionBarContributor()
|
Method Summary | |
protected void |
addAction(IAction action)
|
protected void |
addGlobalActionKey(String key)
|
protected void |
addRetargetAction(RetargetAction action)
|
protected abstract void |
buildActions()
Creates and initializes Actions managed by this contributor. |
protected abstract void |
declareGlobalActionKeys()
|
void |
dispose()
Remove the RetargetAction s that are IPartListener s on
the IWorkbenchPage . |
protected IAction |
getAction(String id)
|
protected ActionRegistry |
getActionRegistry()
returns the ActionRegistry. |
void |
init(IActionBars bars)
|
void |
setActiveEditor(IEditorPart editor)
|
Methods inherited from class org.eclipse.ui.part.EditorActionBarContributor |
contributeToMenu, contributeToStatusLine, contributeToToolBar, getActionBars, getPage, init |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ActionBarContributor()
Method Detail |
protected void addAction(IAction action)
protected void addGlobalActionKey(String key)
protected void addRetargetAction(RetargetAction action)
protected abstract void buildActions()
protected abstract void declareGlobalActionKeys()
public void dispose()
RetargetAction
s that are IPartListener
s on
the IWorkbenchPage
.
dispose
in interface IEditorActionBarContributor
dispose
in class EditorActionBarContributor
EditorActionBarContributor.dispose()
protected IAction getAction(String id)
protected ActionRegistry getActionRegistry()
public void init(IActionBars bars)
init
in class EditorActionBarContributor
EditorActionBarContributor.init(IActionBars)
public void setActiveEditor(IEditorPart editor)
setActiveEditor
in interface IEditorActionBarContributor
setActiveEditor
in class EditorActionBarContributor
IEditorActionBarContributor.setActiveEditor(IEditorPart)
|
Eclipse GEF 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |