com.bonevich.eclipse.cvsgrapher.editors
Class SetConstraintCommand

java.lang.Object
  extended byorg.eclipse.gef.commands.Command
      extended bycom.bonevich.eclipse.cvsgrapher.editors.SetConstraintCommand

public final class SetConstraintCommand
extends org.eclipse.gef.commands.Command

This command is used to move or to resize the nodes in the CVS Graph Editor. Support for undo/redo is ready but not used.

Author:
jbonevic

Constructor Summary
SetConstraintCommand()
           
 
Method Summary
 void execute()
           
 void redo()
           
 void setLocation(org.eclipse.draw2d.geometry.Point p)
           
 void setLocation(org.eclipse.draw2d.geometry.Rectangle r)
           
 void setViewHelper(CvsGraphNodeViewHelper helper)
           
 void undo()
           
 
Methods inherited from class org.eclipse.gef.commands.Command
canExecute, canUndo, chain, dispose, getDebugLabel, getLabel, setDebugLabel, setLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetConstraintCommand

public SetConstraintCommand()
Method Detail

execute

public void execute()

redo

public void redo()

setLocation

public void setLocation(org.eclipse.draw2d.geometry.Rectangle r)

setLocation

public void setLocation(org.eclipse.draw2d.geometry.Point p)

setViewHelper

public void setViewHelper(CvsGraphNodeViewHelper helper)

undo

public void undo()


Copyright © 2003-2004 bonevich.com. All Rights Reserved.