org.eclipse.emf.mapping.command
Class PasteFromClipboardOverrideCommand
java.lang.Object
org.eclipse.emf.common.command.AbstractCommand
org.eclipse.emf.edit.command.AbstractOverrideableCommand
org.eclipse.emf.edit.command.PasteFromClipboardCommand
org.eclipse.emf.mapping.command.PasteFromClipboardOverrideCommand
- All Implemented Interfaces:
- Command, OverrideableCommand
- public class PasteFromClipboardOverrideCommand
- extends PasteFromClipboardCommand
This command overrides the PasteFromClipboardCommand for cross-domain (optimized) copies.
Methods inherited from class org.eclipse.emf.edit.command.PasteFromClipboardCommand |
create, create, doDispose, doExecute, doGetAffectedObjects, doGetResult, doRedo, doUndo, getFeature, getIndex, getOwner, prepare, toString |
Methods inherited from class org.eclipse.emf.edit.command.AbstractOverrideableCommand |
canExecute, canUndo, dispose, doCanExecute, doCanUndo, doGetChildrenToCopy, doGetDescription, doGetLabel, execute, getAffectedObjects, getChildrenToCopy, getDescription, getDomain, getLabel, getOverride, getOwnerList, getResult, redo, setOverride, undo |
Methods inherited from interface org.eclipse.emf.common.command.Command |
chain |
PasteFromClipboardOverrideCommand
public PasteFromClipboardOverrideCommand(MappingDomain domain,
PasteFromClipboardCommand command)
optimizedCanExecute
protected boolean optimizedCanExecute()
- Overrides:
optimizedCanExecute
in class PasteFromClipboardCommand