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

java.lang.Object
  extended byorg.argouml.ui.AbstractGoRule
      extended byorg.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)
          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

GoModelElementToComment

public GoModelElementToComment()
Method Detail

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)

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.getRuleName()


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