org.argouml.ui.explorer.rules
Class GoSubmachineStateToStateMachine
java.lang.Object
org.argouml.ui.explorer.rules.AbstractPerspectiveRule
org.argouml.ui.explorer.rules.GoSubmachineStateToStateMachine
- All Implemented Interfaces:
- PerspectiveRule
public class GoSubmachineStateToStateMachine
- extends AbstractPerspectiveRule
Rule for SubmachineState to StateMachine. This enables the user to easily
browse the submachine states.
Method Summary |
java.util.Collection |
getChildren(java.lang.Object parent)
Gets a collection of 'child' objects for the given 'parent' object in the
uml model, which creates the tree structure. |
java.util.Set |
getDependencies(java.lang.Object parent)
Gets a collection of objects for any 'parent' object in the
uml model for which the tree structure must be recreated when
they are changed. |
java.lang.String |
getRuleName()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GoSubmachineStateToStateMachine
public GoSubmachineStateToStateMachine()
getRuleName
public java.lang.String getRuleName()
- Specified by:
getRuleName
in interface PerspectiveRule
- Specified by:
getRuleName
in class AbstractPerspectiveRule
- Returns:
- the name of the rule, like "from->to".
getChildren
public java.util.Collection getChildren(java.lang.Object parent)
- Description copied from interface:
PerspectiveRule
- Gets a collection of 'child' objects for the given 'parent' object in the
uml model, which creates the tree structure.
- Specified by:
getChildren
in interface PerspectiveRule
- Specified by:
getChildren
in class AbstractPerspectiveRule
- Parameters:
parent
- the given parent
- Returns:
- the children
getDependencies
public java.util.Set getDependencies(java.lang.Object parent)
- Description copied from interface:
PerspectiveRule
- Gets a collection of objects for any 'parent' object in the
uml model for which the tree structure must be recreated when
they are changed.
- Parameters:
parent
- the parent
- Returns:
- the dependent objects