org.argouml.ui.explorer.rules
Class GoStateMachineToState

java.lang.Object
  extended by org.argouml.ui.explorer.rules.AbstractPerspectiveRule
      extended by org.argouml.ui.explorer.rules.GoStateMachineToState
All Implemented Interfaces:
PerspectiveRule

public class GoStateMachineToState
extends AbstractPerspectiveRule

PerspectiveRule to navigate from statemachine to the subvertices of its top state (1 level deep only).


Constructor Summary
GoStateMachineToState()
           
 
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 org.argouml.ui.explorer.rules.AbstractPerspectiveRule
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GoStateMachineToState

public GoStateMachineToState()
Method Detail

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


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook