Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.gmt.modisco.infra.facet.editor.presentation
Class FacetActionBarContributor

    java.lang.Object
      EditingDomainActionBarContributor
          org.eclipse.gmt.modisco.infra.facet.editor.presentation.FacetActionBarContributor

    public class FacetActionBarContributor

extends EditingDomainActionBarContributor

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

Constructor Summary
`FacetActionBarContributor()` This creates an instance of the contributor.

Method Summary
`void` | `activate()`
`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` | `deactivate()`
`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.SelectionChangedEvent`s 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.
`void` | `update()`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### FacetActionBarContributor

    public FacetActionBarContributor()

  This creates an instance of the contributor.

Method Detail

### contributeToToolBar

    public void contributeToToolBar(IToolBarManager toolBarManager)

  This adds Separators for editor additions to the tool bar.

### 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.

### setActiveEditor

    public void setActiveEditor(IEditorPart part)

  When the active editor changes, this remembers the change and registers with it as a selection provider.

### selectionChanged

    public void selectionChanged(SelectionChangedEvent event)

  This implements `org.eclipse.jface.viewers.ISelectionChangedListener`, handling `org.eclipse.jface.viewers.SelectionChangedEvent`s by querying for the children and siblings that can be added to the selected object and updating the menus accordingly.

### menuAboutToShow

    public void menuAboutToShow(IMenuManager menuManager)

  This populates the pop-up menu before it appears.

### activate

    public void activate()

### deactivate

    public void deactivate()

### update

    public void update()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD