org.argouml.uml.diagram.state.ui
Class GoStateToDoActivity

java.lang.Object
  |
  +--org.argouml.ui.AbstractGoRule
        |
        +--org.argouml.uml.diagram.state.ui.GoStateToDoActivity
All Implemented Interfaces:
javax.swing.tree.TreeModel

public class GoStateToDoActivity
extends AbstractGoRule

Go rule to navigate from a state to it's doactivity. Used in the package perspective.

Since:
Dec 25, 2002

Constructor Summary
GoStateToDoActivity()
           
 
Method Summary
 java.util.Collection getChildren(java.lang.Object parent)
           
 java.lang.String getRuleName()
          return the name of the rule as it is displayed in the nav perspective edit pane.
 boolean isLeaf(java.lang.Object node)
           
 
Methods inherited from class org.argouml.ui.AbstractGoRule
addTreeModelListener, getChild, getChildCount, getIndexOfChild, getRoot, removeTreeModelListener, toString, valueForPathChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GoStateToDoActivity

public GoStateToDoActivity()
Method Detail

isLeaf

public boolean isLeaf(java.lang.Object node)
Overrides:
isLeaf in class AbstractGoRule
See Also:
TreeModel.isLeaf(java.lang.Object)

getChildren

public java.util.Collection getChildren(java.lang.Object parent)
Overrides:
getChildren in class AbstractGoRule
See Also:
AbstractGoRule.getChildren(java.lang.Object)

getRuleName

public java.lang.String getRuleName()
Description copied from class: AbstractGoRule
return the name of the rule as it is displayed in the nav perspective edit pane. Returns for example "State->Substates".
Overrides:
getRuleName in class AbstractGoRule
See Also:
AbstractGoRule.getRuleName()


ArgoUML (c) 1996-2002
ArgoUML Project Home
ArgoUML Cookbook