org.eclipse.modisco.utils.chart.metamodel.chart.presentation
Class chartActionBarContributor

java.lang.Object
  extended by EditingDomainActionBarContributor
      extended by org.eclipse.modisco.utils.chart.metamodel.chart.presentation.chartActionBarContributor

public class chartActionBarContributor
extends EditingDomainActionBarContributor

This is the action bar contributor for the chart model editor.

Generated:

Field Summary
static java.lang.String copyright
           
 
Constructor Summary
chartActionBarContributor()
          This creates an instance of the contributor.
 
Method Summary
 void contributeToMenu(IMenuManager menuManager)
          This adds to the menu bar a menu and some separators for editor additions, as well as the sub-menus for object creation items.
 void contributeToToolBar(IToolBarManager toolBarManager)
          This adds Separators for editor additions to the tool bar.
 void menuAboutToShow(IMenuManager menuManager)
          This populates the pop-up menu before it appears.
 void selectionChanged(SelectionChangedEvent event)
          This implements org.eclipse.jface.viewers.ISelectionChangedListener, handling org.eclipse.jface.viewers.SelectionChangedEvents by querying for the children and siblings that can be added to the selected object and updating the menus accordingly.
 void setActiveEditor(IEditorPart part)
          When the active editor changes, this remembers the change and registers with it as a selection provider.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values
Generated:
Constructor Detail

chartActionBarContributor

public chartActionBarContributor()
This creates an instance of the contributor.

Generated:
Method Detail

contributeToToolBar

public void contributeToToolBar(IToolBarManager toolBarManager)
This adds Separators for editor additions to the tool bar.

Generated:

contributeToMenu

public void contributeToMenu(IMenuManager menuManager)
This adds to the menu bar a menu and some separators for editor additions, as well as the sub-menus for object creation items.

Generated:

setActiveEditor

public void setActiveEditor(IEditorPart part)
When the active editor changes, this remembers the change and registers with it as a selection provider.

Generated:

selectionChanged

public void selectionChanged(SelectionChangedEvent event)
This implements org.eclipse.jface.viewers.ISelectionChangedListener, handling org.eclipse.jface.viewers.SelectionChangedEvents by querying for the children and siblings that can be added to the selected object and updating the menus accordingly.

Generated:

menuAboutToShow

public void menuAboutToShow(IMenuManager menuManager)
This populates the pop-up menu before it appears.

Generated: