Class MovingAnnotationLabelCommand

java.lang.Object
org.eclipse.nebula.visualization.internal.xygraph.undo.MovingAnnotationLabelCommand
All Implemented Interfaces:
IUndoableCommand

public class MovingAnnotationLabelCommand
extends java.lang.Object
implements IUndoableCommand
The command moving an annotation label.
  • Constructor Summary

    Constructors 
    Constructor Description
    MovingAnnotationLabelCommand​(Annotation annotation)  
  • Method Summary

    Modifier and Type Method Description
    void redo()
    Restore the state of the target to the state after this command has been executed.
    void setAfterMovingDxDy​(double dx, double dy)  
    void setBeforeMovingDxDy​(double dx, double dy)  
    java.lang.String toString()  
    void undo()
    Restore the state of the target to the state before this command has been executed.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait