Class RestrictingDragAndDropCommand

  • All Implemented Interfaces:
    org.eclipse.emf.common.command.Command, org.eclipse.emf.edit.command.DragAndDropFeedback

    public class RestrictingDragAndDropCommand
    extends org.eclipse.emf.edit.command.DragAndDropCommand
    Special DragAndDropCommand that forbids moves of changes
    Version:
    $Rev$
    Author:
    herrmama, $Author$
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.emf.edit.command.DragAndDropCommand

        org.eclipse.emf.edit.command.DragAndDropCommand.Detail
      • Nested classes/interfaces inherited from class org.eclipse.emf.common.command.AbstractCommand

        org.eclipse.emf.common.command.AbstractCommand.NonDirtying
    • Field Summary

      • Fields inherited from interface org.eclipse.emf.edit.command.DragAndDropFeedback

        DROP_COPY, DROP_LINK, DROP_MOVE, DROP_NONE, FEEDBACK_INSERT_AFTER, FEEDBACK_INSERT_BEFORE, FEEDBACK_NONE, FEEDBACK_SELECT
    • Constructor Summary

      Constructors 
      Constructor Description
      RestrictingDragAndDropCommand​(org.eclipse.emf.edit.domain.EditingDomain domain, Object owner, float location, int operations, int operation, Collection<?> collection)
      Constructor
    • Method Summary

      • Methods inherited from class org.eclipse.emf.edit.command.DragAndDropCommand

        create, dispose, execute, getAffectedObjects, getCollection, getFeedback, getLocation, getOperation, getOperations, getOwner, getResult, redo, toString, undo, validate
      • Methods inherited from class org.eclipse.emf.common.command.AbstractCommand

        canExecute, canUndo, chain, getDescription, getLabel, setDescription, setLabel
    • Constructor Detail

      • RestrictingDragAndDropCommand

        public RestrictingDragAndDropCommand​(org.eclipse.emf.edit.domain.EditingDomain domain,
                                             Object owner,
                                             float location,
                                             int operations,
                                             int operation,
                                             Collection<?> collection)
        Constructor