public class ViewEditorActionBarContributor
extends org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor
activeEditor, ADDITIONS_LAST_STYLE, collapseAllAction, controlAction, copyAction, cutAction, deleteAction, expandAllAction, findAction, liveValidationAction, loadResourceAction, pasteAction, redoAction, revertAction, style, undoAction, validateAction
Constructor and Description |
---|
ViewEditorActionBarContributor()
Initializes me.
|
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.emf.edit.ui.action.DeleteAction |
createDeleteAction() |
protected <T> T |
getService(Class<T> serviceType)
Obtain a service of the given type from the view model context, if any.
|
protected ViewModelContext |
getViewModelContext()
Obtain the editor's view model context.
|
activate, addGlobalActions, contributeToMenu, contributeToStatusLine, contributeToToolBar, createCopyAction, createCutAction, createPasteAction, createRedoAction, createUndoAction, deactivate, getActiveEditor, init, menuAboutToShow, propertyChanged, removeAllReferencesOnDelete, setActiveEditor, setActivePage, setActiveView, shareGlobalActions, update
public ViewEditorActionBarContributor()
protected org.eclipse.emf.edit.ui.action.DeleteAction createDeleteAction()
createDeleteAction
in class org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor
protected <T> T getService(Class<T> serviceType)
T
- the type of service to obtainserviceType
- the type of service to obtainnull
if none can be obtainedprotected ViewModelContext getViewModelContext()
null
if the editor has noneCopyright © 2019. All rights reserved.