Method Summary |
|
public void | contributeToCoolBar(ICoolBarManager coolBarManager) Contributes to the given cool bar.
The EditorActionBarContributor implementation of this method
does nothing. |
public void | contributeToMenu(IMenuManager menuManager) Contributes to the given menu.
The EditorActionBarContributor implementation of this method
does nothing. |
public void | contributeToStatusLine(IStatusLineManager statusLineManager) Contributes to the given status line.
The EditorActionBarContributor implementation of this method
does nothing. |
public void | contributeToToolBar(IToolBarManager toolBarManager) Contributes to the given tool bar.
The EditorActionBarContributor implementation of this method
does nothing. |
public void | dispose() The EditorActionBarContributor implementation of this
IEditorActionBarContributor method does nothing,
subclasses may override. |
public IActionBars | getActionBars() Returns this contributor's action bars. |
public IWorkbenchPage | getPage() Returns this contributor's workbench page. |
public void | init(IActionBars bars, IWorkbenchPage page) |
public void | init(IActionBars bars) This method calls:
contributeToMenu with bars ' menu manager
contributeToToolBar with bars ' tool bar
manager
contributeToCoolBar with bars ' cool bar
manager if IActionBars is of extended type IActionBars2
contributeToStatusLine with bars ' status line
manager
The given action bars are also remembered and made accessible via
getActionBars . |
public void | setActiveEditor(IEditorPart targetEditor) Sets the active editor for the contributor.
The EditorActionBarContributor implementation of this method does
nothing. |