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

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

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

A command for splitting a connection.


Constructor Summary
SplitConnectionCommand()
           
 
Method Summary
 void execute()
           
 void setElementConnection(ElementConnection connection)
           
 void setNewElement(ElementWrapper newElement)
           
 void setNewSecondConnection(ElementConnection connection)
           
 void setParent(ProcessWrapper process)
           
 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

SplitConnectionCommand

public SplitConnectionCommand()
Method Detail

setNewSecondConnection

public void setNewSecondConnection(ElementConnection connection)

execute

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

setParent

public void setParent(ProcessWrapper process)

setElementConnection

public void setElementConnection(ElementConnection connection)

setNewElement

public void setNewElement(ElementWrapper newElement)

undo

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


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