org.drools.eclipse.flow.common.editor.core.command
Class ChangeConstraintCommand

java.lang.Object
  extended by org.eclipse.gef.commands.Command
      extended by org.drools.eclipse.flow.common.editor.core.command.ChangeConstraintCommand

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

A command for changing a constraint.


Constructor Summary
ChangeConstraintCommand()
           
 
Method Summary
 void execute()
           
 void setConstraint(org.eclipse.draw2d.geometry.Rectangle rect)
           
 void setElement(ElementWrapper element)
           
 void undo()
           
 
Methods inherited from class org.eclipse.gef.commands.Command
canExecute, 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

ChangeConstraintCommand

public ChangeConstraintCommand()
Method Detail

execute

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

setConstraint

public void setConstraint(org.eclipse.draw2d.geometry.Rectangle rect)

setElement

public void setElement(ElementWrapper element)

undo

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


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.