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

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

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

A command for creating a bendpoint.


Constructor Summary
CreateBendpointCommand()
           
 
Method Summary
 void execute()
           
 void setConnection(Object model)
           
 void setIndex(int i)
           
 void setLocation(org.eclipse.draw2d.geometry.Point point)
           
 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

CreateBendpointCommand

public CreateBendpointCommand()
Method Detail

execute

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

setConnection

public void setConnection(Object model)

setIndex

public void setIndex(int i)

setLocation

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

undo

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


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