public class CutMasterDetailAction extends DelegatingMasterDetailAction
CutAction
.Constructor and Description |
---|
CutMasterDetailAction(org.eclipse.emf.edit.domain.EditingDomain editingDomain)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.emf.edit.ui.action.CommandActionHandler |
createDelegatedAction(org.eclipse.emf.edit.domain.EditingDomain editingDomain)
Creates the
BaseSelectionListenerAction to which this KeybindedMasterDetailAction forwards to. |
protected String |
getEMFImagePath()
The path to the image for the
BaseSelectionListenerAction . |
protected boolean |
isExecuteOnKeyRelease(org.eclipse.swt.events.KeyEvent event)
Determines if the
KeybindedMasterDetailAction.executeOnKeyRelease(ISelection) method shall be executed. |
execute, execute, executeOnKeyRelease, getDelegatedAction, getEMFEditLabel, shouldShow
executeOnKeyPressed, getCurrentSelection, isActivated, isExecuteOnKeyPressed, keyPressed, keyReleased, selectionChanged, setTreeViewer
getImagePath, getLabel, getTreeViewer, setImagePath, setLabel
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabled
public CutMasterDetailAction(org.eclipse.emf.edit.domain.EditingDomain editingDomain)
editingDomain
- The EditingDomain
for the CutAction
.protected String getEMFImagePath()
DelegatingMasterDetailAction
BaseSelectionListenerAction
.getEMFImagePath
in class DelegatingMasterDetailAction
BaseSelectionListenerAction
.protected org.eclipse.emf.edit.ui.action.CommandActionHandler createDelegatedAction(org.eclipse.emf.edit.domain.EditingDomain editingDomain)
DelegatingMasterDetailAction
BaseSelectionListenerAction
to which this KeybindedMasterDetailAction
forwards to.createDelegatedAction
in class DelegatingMasterDetailAction
editingDomain
- The EditingDomain
which is used to create the BaseSelectionListenerAction
.BaseSelectionListenerAction
to which this KeybindedMasterDetailAction
forwards to.protected boolean isExecuteOnKeyRelease(org.eclipse.swt.events.KeyEvent event)
KeybindedMasterDetailAction
KeybindedMasterDetailAction.executeOnKeyRelease(ISelection)
method shall be executed.isExecuteOnKeyRelease
in class KeybindedMasterDetailAction
event
- The KeyEvent
which triggers this method.true
if KeybindedMasterDetailAction.executeOnKeyRelease(ISelection)
method shall be called, false
otherwise.Copyright © 2016. All rights reserved.