org.argouml.uml.diagram.collaboration.ui
Class GoOperationToCollaboration

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

public class GoOperationToCollaboration
extends AbstractGoRule

Go rule for navigation in the navpane from an operation to the collaboration representing it.

Since:
Oct 1, 2002

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

Constructor Detail

GoOperationToCollaboration

public GoOperationToCollaboration()
Method Detail

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".

Specified by:
getRuleName in class AbstractGoRule
See Also:
AbstractGoRule.toString()

getChildren

public java.util.Collection getChildren(java.lang.Object parent)
Description copied from class: AbstractGoRule
this is the method that should be overridden by GoRules

Specified by:
getChildren in class AbstractGoRule
See Also:
AbstractGoRule.getChildren(java.lang.Object)


ArgoUML © 1996-2003 (20040229)ArgoUML Project HomeArgoUML Cookbook