java.lang.Objectorg.eclipse.ui.part.EditorActionBarContributor
org.eclipse.ui.part.MultiPageEditorActionBarContributor
com.ibm.jdg2e.activex.editor.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 |
contributeToCoolBar, 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)
EditorActionBarContributor.contributeToMenu(IMenuManager)public void contributeToToolBar(org.eclipse.jface.action.IToolBarManager manager)
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)
IEditorActionBarContributor.init(IActionBars,
IWorkbenchPage)public void setActiveEditor(org.eclipse.ui.IEditorPart targetEditor)
IEditorActionBarContributor.setActiveEditor(IEditorPart)public void setActivePage(org.eclipse.ui.IEditorPart part)
MultiPageEditorActionBarContributor.setActivePage(IEditorPart)