Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## APStudio.models.commands
Class AddCommand

    java.lang.Object
      |
      +--org.eclipse.gef.commands.Command
            |
            +--APStudio.models.commands.AddCommand

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

Constructor Summary
`AddCommand()`

Method Summary
`void` | `execute()`
`ClassGraphModel` | `getParent()`
`void` | `redo()`
`void` | `setChild(BasicSubpart subpart)`
`void` | `setIndex(int i)`
`void` | `setParent(ClassGraphModel newParent)`
`void` | `undo()`

Methods inherited from class org.eclipse.gef.commands.Command
`canExecute, canUndo, chain, dispose, getDebugLabel, getLabel, setDebugLabel, setLabel`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### AddCommand

    public AddCommand()

Method Detail

### execute

    public void execute()

  Overrides:
    `execute` in class `org.eclipse.gef.commands.Command`

### getParent

    public ClassGraphModel getParent()

### redo

    public void redo()

  Overrides:
    `redo` in class `org.eclipse.gef.commands.Command`

### setChild

    public void setChild(BasicSubpart subpart)

### setIndex

    public void setIndex(int i)

### setParent

    public void setParent(ClassGraphModel newParent)

### undo

    public void undo()

  Overrides:
    `undo` in class `org.eclipse.gef.commands.Command`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD