Package OpenCAGE.Actions.Remove

Package for remove actions

Class Remove_Action

extends OpenCAGE.Actions.Action

This action will remove objects into another another parent object. You must get this action from the parent object, i.e. the object from which you want to remove the other objects. Then add all nodes and edges to the action. After that call execute to remove the nodes and edges.

Operations

public Add( OpenCAGE.GIF.Node_Model Node);

Adds a node to this action.

public Add( OpenCAGE.GIF.Edge_Model Edge);

Adds an edge to this action.

public Execute(void);

Executes the action. [This description is adopted from 'OpenCAGE.Actions.Action'.]

Precondition: All required data was set. [This precondition is adopted from 'OpenCAGE.Actions.Action'.]

Postcondition: The action was executed. [This postcondition is adopted from 'OpenCAGE.Actions.Action'.]

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... [This description is adopted from 'OpenCAGE.Actions.Action'.]

Precondition: The action wasn't executed yet. [This precondition is adopted from 'OpenCAGE.Actions.Action'.]

Postcondition: The action will not be executed. [This postcondition is adopted from 'OpenCAGE.Actions.Action'.]