Overview | File | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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)

Version: 0.9.14
Author: Andreas Herz

Method Detail

### canExecute

    boolean canExecute()

Returns [true] if the command can be execute and the execution of the command modify the model. A CommandMove with [startX,startX] == [endX,endY] should return false.
the execution of the Command doesn't modify the model.

### execute

    void execute()

Execute the command the first time

### redo

    void redo()

Redo the command after the user has undo this command

### setNewPorts

    void setNewPorts( source, target)

### undo

    void undo()

Undo the command

Overview | File | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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