Modelers

org.topcased.modeler.commands
Class MoveBendpointCommand

java.lang.Object
  extended by org.eclipse.gef.commands.Command
      extended by org.topcased.modeler.commands.MoveBendpointCommand

public class MoveBendpointCommand
extends org.eclipse.gef.commands.Command

Bendpoint manipulation commands cannot be chained or compounded.

Since:
3.1

Constructor Summary
MoveBendpointCommand(GraphEdge link, org.eclipse.draw2d.geometry.Point location, int index)
           
 
Method Summary
 boolean canExecute()
           
 void execute()
           
 void undo()
           
 
Methods inherited from class org.eclipse.gef.commands.Command
canUndo, chain, dispose, getDebugLabel, getLabel, redo, setDebugLabel, setLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoveBendpointCommand

public MoveBendpointCommand(GraphEdge link,
                            org.eclipse.draw2d.geometry.Point location,
                            int index)
Method Detail

canExecute

public boolean canExecute()
Overrides:
canExecute in class org.eclipse.gef.commands.Command

execute

public void execute()
Overrides:
execute in class org.eclipse.gef.commands.Command

undo

public void undo()
Overrides:
undo in class org.eclipse.gef.commands.Command

Modelers

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.