org.eclipse.emf.mapping.command
Class DragAndDropOverrideCommand
java.lang.Object
org.eclipse.emf.common.command.AbstractCommand
org.eclipse.emf.edit.command.DragAndDropCommand
org.eclipse.emf.mapping.command.DragAndDropOverrideCommand
- All Implemented Interfaces:
- Command, DragAndDropFeedback
- public class DragAndDropOverrideCommand
- extends DragAndDropCommand
This command overrides the PasteFromClipboardCommand for cross-domain (optimized) copies.
Fields inherited from class org.eclipse.emf.edit.command.DragAndDropCommand
|
collection, DESCRIPTION, domain, dragCommand, dropCommand, feedback, isDragCommandExecuted, LABEL, location, lowerLocationBound, operation, operations, optimize, optimizedDropCommandOwner, owner, upperLocationBound
|
Methods inherited from class org.eclipse.emf.edit.command.DragAndDropCommand
|
analyzeForNonContainment, create, dispose, execute, getAffectedObjects, getChildren, getCollection, getFeedback, getLocation, getOperation, getOperations, getOwner, getParent, getResult, isCrossDomain, isNonContainment, prepare, prepareDropCopyInsert, prepareDropCopyOn, prepareDropInsert, prepareDropLinkInsert, prepareDropLinkOn, prepareDropMoveInsert, prepareDropMoveOn, prepareDropOn, redo, reset, toString, undo, validate
|
DragAndDropOverrideCommand
public DragAndDropOverrideCommand(MappingDomain domain,
DragAndDropCommand command)
optimizedCanExecute
protected boolean optimizedCanExecute()
- Overrides:
- optimizedCanExecute in class DragAndDropCommand