Class PasteInParentAction
- java.lang.Object
-
- org.eclipse.core.commands.common.EventManager
-
- org.eclipse.jface.action.AbstractAction
-
- org.eclipse.jface.action.Action
-
- org.eclipse.ui.actions.BaseSelectionListenerAction
-
- org.eclipse.emf.edit.ui.action.CommandActionHandler
-
- org.eclipse.emfforms.spi.swt.treemasterdetail.actions.delegating.PasteInParentAction
-
- All Implemented Interfaces:
org.eclipse.jface.action.IAction,org.eclipse.jface.viewers.ISelectionChangedListener
public class PasteInParentAction extends org.eclipse.emf.edit.ui.action.CommandActionHandlerA paste action that will switch to the parent element of the current selection. It will create aPasteFromClipboardCommandeither for the selected element or its parent.- Since:
- 1.13.0
-
-
Constructor Summary
Constructors Constructor Description PasteInParentAction()Constructor without providing anEditingDomain.PasteInParentAction(org.eclipse.emf.edit.domain.EditingDomain domain)Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.common.command.CommandcreateCommand(java.util.Collection<?> selection)-
Methods inherited from class org.eclipse.emf.edit.ui.action.CommandActionHandler
getEditingDomain, run, setEditingDomain, updateSelection
-
Methods inherited from class org.eclipse.ui.actions.BaseSelectionListenerAction
clearCache, getStructuredSelection, runWithEvent, selectionChanged, selectionChanged
-
Methods inherited from class org.eclipse.jface.action.Action
convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
-
Methods inherited from class org.eclipse.jface.action.AbstractAction
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener
-
-