public class ShortcutHandler
extends org.eclipse.core.commands.AbstractHandler
IHandler
,
AbstractHandler
Constructor and Description |
---|
ShortcutHandler() |
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.jface.dialogs.Dialog |
createNewElementDialog(org.eclipse.emf.edit.domain.EditingDomain editingDomain,
org.eclipse.jface.viewers.ISelectionProvider selectionProvider,
org.eclipse.emf.ecore.EObject selection,
String title)
Creates the new element dialog.
|
Object |
execute(org.eclipse.core.commands.ExecutionEvent event) |
protected String |
getDeleteCmdName() |
protected String |
getNewChildCmdName() |
protected String |
getNewSiblingCmdName() |
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabled
public Object execute(org.eclipse.core.commands.ExecutionEvent event) throws org.eclipse.core.commands.ExecutionException
org.eclipse.core.commands.ExecutionException
IHandler.execute(org.eclipse.core.commands.ExecutionEvent)
protected String getNewSiblingCmdName()
protected String getNewChildCmdName()
protected String getDeleteCmdName()
protected org.eclipse.jface.dialogs.Dialog createNewElementDialog(org.eclipse.emf.edit.domain.EditingDomain editingDomain, org.eclipse.jface.viewers.ISelectionProvider selectionProvider, org.eclipse.emf.ecore.EObject selection, String title)
editingDomain
- the editing domainselectionProvider
- the selectionselection
- the selectiontitle
- the titleCopyright © 2019. All rights reserved.