public class FeatureModelInstanceContributor extends EditingDomainActionBarContributor implements org.eclipse.jface.viewers.ISelectionChangedListener
ADDITIONS_LAST_STYLE| Constructor and Description |
|---|
FeatureModelInstanceContributor()
This creates an instance of the contributor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
contributeToMenu(org.eclipse.jface.action.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 |
fillContextMenu(org.eclipse.jface.action.IMenuManager manager) |
void |
selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event) |
void |
setActiveEditor(org.eclipse.ui.IEditorPart part)
When the active editor changes, this remembers the change and registers with it as a selection provider.
|
void |
setConfiguration(Configuration config)
Setter for the Configuration object needed in the validation
|
void |
setShell(org.eclipse.swt.widgets.Shell shell)
Setter for the Shell object needed for the validation-result dialogs
|
activate, contributeToStatusLine, contributeToToolBar, deactivate, getActiveEditor, init, menuAboutToShow, propertyChanged, setActivePage, setActiveView, shareGlobalActions, updatepublic FeatureModelInstanceContributor()
public void fillContextMenu(org.eclipse.jface.action.IMenuManager manager)
public void contributeToMenu(org.eclipse.jface.action.IMenuManager menuManager)
contributeToMenu in class EditingDomainActionBarContributorpublic void setConfiguration(Configuration config)
config - the Configuration objectpublic void setShell(org.eclipse.swt.widgets.Shell shell)
shell - the Shell objectpublic void setActiveEditor(org.eclipse.ui.IEditorPart part)
setActiveEditor in interface org.eclipse.ui.IEditorActionBarContributorsetActiveEditor in class EditingDomainActionBarContributorpublic void selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
selectionChanged in interface org.eclipse.jface.viewers.ISelectionChangedListener