org.argouml.ui.explorer.rules
Class GoStatemachineToDiagram

java.lang.Object
  extended byorg.argouml.ui.explorer.rules.AbstractPerspectiveRule
      extended byorg.argouml.ui.explorer.rules.GoStatemachineToDiagram
All Implemented Interfaces:
PerspectiveRule

public class GoStatemachineToDiagram
extends AbstractPerspectiveRule

A go rule to navigate from a statemachine or activitygraph to the statediagram or activitydiagram that's showing it.

Since:
Jul 12, 2004

Constructor Summary
GoStatemachineToDiagram()
           
 
Method Summary
 Collection getChildren(Object parent)
          Gets a collection of 'child' objects for the given 'parent' object in the uml model, which creates the tree structure.
 Set getDependencies(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.
 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

GoStatemachineToDiagram

public GoStatemachineToDiagram()
Method Detail

getChildren

public Collection getChildren(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
See Also:
PerspectiveRule.getChildren(java.lang.Object)

getRuleName

public String getRuleName()
Specified by:
getRuleName in interface PerspectiveRule
Specified by:
getRuleName in class AbstractPerspectiveRule
See Also:
PerspectiveRule.getRuleName()

getDependencies

public Set getDependencies(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
See Also:
PerspectiveRule.getDependencies(java.lang.Object)


ArgoUML © 1996-2004 (20050222)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook