ist.palcom.eclipse.browserplugin.editors
Class AssemblyEditorContributor

java.lang.Object
  extended by MultiPageEditorActionBarContributor
      extended by ist.palcom.eclipse.browserplugin.editors.AssemblyEditorContributor

public class AssemblyEditorContributor
extends MultiPageEditorActionBarContributor

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
AssemblyEditorContributor()
          Creates a multi-page contributor.
 
Method Summary
 void contributeToMenu(IMenuManager manager)
           
 void contributeToToolBar(IToolBarManager manager)
           
protected  IAction getAction(ITextEditor editor, java.lang.String actionID)
          Returns the action registed with the given text editor.
 void setActivePage(IEditorPart part)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssemblyEditorContributor

public AssemblyEditorContributor()
Creates a multi-page contributor.

Method Detail

getAction

protected IAction getAction(ITextEditor editor,
                            java.lang.String actionID)
Returns the action registed with the given text editor.

Returns:
IAction or null if editor is null.

setActivePage

public void setActivePage(IEditorPart part)

contributeToMenu

public void contributeToMenu(IMenuManager manager)

contributeToToolBar

public void contributeToToolBar(IToolBarManager manager)