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

## Class draw2d.CommandConnect

    Object
       |
       +--draw2d.Command
             |
             +--draw2d.CommandConnect

class draw2d.CommandConnect
extends draw2d.Command

Defined in CommandConnect.js
Version: 0.9.14
Author: Andreas Herz

Field Summary
`Object` | `connection`
`Object` | `source`
`Object` | `target`
`Object` | `workflow`

Fields inherited from class draw2d.Command
`label`

Constructor Summary
`draw2d.CommandConnect ( canvas, source, target)`

Method Summary
`void` | `execute()` Execute the command the first time
`void` | `redo()` Redo the command after the user has undo this command.
`void` | `setConnection( connection)` Init the Command with my own implementation of a connection
`void` | `undo()` Undo the command.

Methods inherited from class draw2d.Command
`getLabel, canExecute`

Field Detail

### connection

    Object connection

### source

    Object source

### target

    Object target

### workflow

    Object workflow

Constructor Detail

### draw2d.CommandConnect

    draw2d.CommandConnect( canvas, source, target)

Version: 0.9.14
Author: Andreas Herz

Method Detail

### execute

    void execute()

Execute the command the first time

### redo

    void redo()

Redo the command after the user has undo this command.

### setConnection

    void setConnection( connection)

Init the Command with my own implementation of a connection

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