Class draw2d.CommandReconnect

Object
   |
   +--draw2d.Command
         |
         +--draw2d.CommandReconnect

class draw2d.CommandReconnect
extends draw2d.Command

Defined in CommandReconnect.js

Version: 0.9.14

Author: Andreas Herz


Field Summary
 Object con
          
 Object oldRouter
          
 Object oldSourcePort
          
 Object oldTargetPort
          
   
Fields inherited from class draw2d.Command
label
 
Constructor Summary
draw2d.CommandReconnect ( con)
           
 
Method Summary
 boolean canExecute()
           Returns [true] if the command can be execute and the execution of the command modify the model.
 void execute()
           Execute the command the first time
 void redo()
           Redo the command after the user has undo this command
 void setNewPorts( source, target)
          
 void undo()
           Undo the command
 
Methods inherited from class draw2d.Command
getLabel
 

Field Detail

con

Object con

oldRouter

Object oldRouter

oldSourcePort

Object oldSourcePort

oldTargetPort

Object oldTargetPort

Constructor Detail

draw2d.CommandReconnect

draw2d.CommandReconnect( con)

Method Detail

canExecute

boolean canExecute()

execute

void execute()

redo

void redo()

setNewPorts

void setNewPorts( source, target)

undo

void undo()


Documentation generated by JSDoc on Thu Feb 7 23:45:47 2008