Package for collapse actions
extends OpenCAGE.Actions.Action
This action will collapse objects together into a new parent node. You must get this action from the parent of the new parent node, i.e. the object where the new parent node is created. Then add all nodes and edges to the action. After that call execute to collapse the nodes and edges.
Adds a node to this action.
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'.]
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'.]