Package OpenCAGE.Actions

This package contains all generic action interfaces.

Class Action

This class represents an (abstract) action. For each possible action there is another abstract class called e.g. Foo_Action. To retrieve such a Foo_Action, call the Get_Action methode from the Node_Model with "Foo" as the name.

Operations

public Execute (void);

Executes the action.

Precondition: All required data was set.

Postcondition: The action was executed.

public Cancel (void);

Cancels an action. Note: this will do nothing in most cases. But you should use it to a) document your intention and b) it might be usefull for some actions in the future...

Precondition: The action wasn't executed yet.

Postcondition: The action will not be executed.