org.argouml.uml.ui.foundation.core
Class GoModelElementToComment

java.lang.Object
  |
  +--org.argouml.ui.AbstractGoRule
        |
        +--org.argouml.uml.ui.foundation.core.GoModelElementToComment
All Implemented Interfaces:
javax.swing.tree.TreeModel

public class GoModelElementToComment
extends AbstractGoRule

Go rule for the package perspective to show the comments belonging to some modelelement.

Since:
Jan 21, 2003

Constructor Summary
GoModelElementToComment()
           
 
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

GoModelElementToComment

public GoModelElementToComment()
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