java.lang.Object | +--org.eclipse.ui.part.EditorActionBarContributor | +--org.eclipse.ui.part.MultiPageEditorActionBarContributor | +--com.ibm.lab.soln.interopedit.editors.ActiveXMultiPageEditorContributor
Manages the installation/deinstallation of global actions for multi-page editors. Responsible for the redirection of global actions to the active editor. Multi-page contributor replaces the contributors for the individual editors in the multi-page editor.
Constructor Summary | |
ActiveXMultiPageEditorContributor()
Creates a multi-page contributor. |
Method Summary | |
void |
contributeToMenu(org.eclipse.jface.action.IMenuManager manager)
Adds bold, italic and underline actions. |
void |
contributeToToolBar(org.eclipse.jface.action.IToolBarManager manager)
Adds bold, italic, and underline actions |
protected org.eclipse.jface.action.IAction |
getAction(org.eclipse.ui.texteditor.ITextEditor editor,
java.lang.String actionID)
Returns the action registered with the given text editor. |
void |
init(org.eclipse.ui.IActionBars bars,
org.eclipse.ui.IWorkbenchPage page)
|
void |
setActiveEditor(org.eclipse.ui.IEditorPart targetEditor)
This method saves the active browser editor the user is working with. |
void |
setActivePage(org.eclipse.ui.IEditorPart part)
Sets up the standard (global ) editor menus |
Methods inherited from class org.eclipse.ui.part.EditorActionBarContributor |
contributeToStatusLine, dispose, getActionBars, getPage, init |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ActiveXMultiPageEditorContributor()
Method Detail |
public void contributeToMenu(org.eclipse.jface.action.IMenuManager manager)
contributeToMenu
in class org.eclipse.ui.part.EditorActionBarContributor
EditorActionBarContributor.contributeToMenu(IMenuManager)
public void contributeToToolBar(org.eclipse.jface.action.IToolBarManager manager)
contributeToToolBar
in class org.eclipse.ui.part.EditorActionBarContributor
EditorActionBarContributor.contributeToToolBar(IToolBarManager)
protected org.eclipse.jface.action.IAction getAction(org.eclipse.ui.texteditor.ITextEditor editor, java.lang.String actionID)
public void init(org.eclipse.ui.IActionBars bars, org.eclipse.ui.IWorkbenchPage page)
init
in class org.eclipse.ui.part.EditorActionBarContributor
IEditorActionBarContributor.init(IActionBars, IWorkbenchPage)
public void setActiveEditor(org.eclipse.ui.IEditorPart targetEditor)
setActiveEditor
in class org.eclipse.ui.part.MultiPageEditorActionBarContributor
IEditorActionBarContributor.setActiveEditor(IEditorPart)
public void setActivePage(org.eclipse.ui.IEditorPart part)
setActivePage
in class org.eclipse.ui.part.MultiPageEditorActionBarContributor
MultiPageEditorActionBarContributor.setActivePage(IEditorPart)