de.tu_berlin.cs.tfs.muvitorkit.actions
Class MuvitorActionBarContributor

java.lang.Object
  extended by org.eclipse.ui.part.EditorActionBarContributor
      extended by org.eclipse.gef.ui.actions.ActionBarContributor
          extended by de.tu_berlin.cs.tfs.muvitorkit.actions.MuvitorActionBarContributor
All Implemented Interfaces:
IEditorActionBarContributor

public class MuvitorActionBarContributor
extends ActionBarContributor

Contributor class to build up the editor's menu and tool bar. Some standard actions are put on the ActionBar by this. Usually you will not need to subclass this.

In the rare case that you really need an additional RetargetAction for all the Muvitor's views, it must be built in buildActions() and contributed in contributeToMenu(IMenuManager) or contributeToMenu(IMenuManager) in subclasses.

Rating red

Constructor Summary
MuvitorActionBarContributor()
           
 
Method Summary
protected  void buildActions()
           
 void contributeToMenu(IMenuManager menuManager)
           
 void contributeToToolBar(IToolBarManager toolBarManager)
           
protected  void declareGlobalActionKeys()
          Only IDs which were not already added directly or indirectly using ActionBarContributor.addGlobalActionKey(String) need to be added.
 
Methods inherited from class org.eclipse.gef.ui.actions.ActionBarContributor
addAction, addGlobalActionKey, addRetargetAction, dispose, getAction, getActionRegistry, init, setActiveEditor
 
Methods inherited from class org.eclipse.ui.part.EditorActionBarContributor
contributeToCoolBar, contributeToStatusLine, getActionBars, getPage, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MuvitorActionBarContributor

public MuvitorActionBarContributor()
Method Detail

buildActions

protected void buildActions()
Specified by:
buildActions in class ActionBarContributor

contributeToMenu

public void contributeToMenu(IMenuManager menuManager)
Overrides:
contributeToMenu in class EditorActionBarContributor

contributeToToolBar

public void contributeToToolBar(IToolBarManager toolBarManager)
Overrides:
contributeToToolBar in class EditorActionBarContributor

declareGlobalActionKeys

protected void declareGlobalActionKeys()
Only IDs which were not already added directly or indirectly using ActionBarContributor.addGlobalActionKey(String) need to be added.

Specified by:
declareGlobalActionKeys in class ActionBarContributor