org.argouml.uml.diagram.use_case.ui
Class GoUseCaseToExtensionPoint

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

public class GoUseCaseToExtensionPoint
extends AbstractGoRule

Provides a rule to display extension points in the navigation pane.


Field Summary
protected static org.apache.log4j.Category cat
           
 
Constructor Summary
GoUseCaseToExtensionPoint()
           
 
Method Summary
 java.util.Collection getChildren(java.lang.Object parent)
           
 java.lang.String getRuleName()
          Give a name to this rule.
 boolean isLeaf(java.lang.Object node)
          Test if the given object is a leaf from a use case.
 
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
 

Field Detail

cat

protected static org.apache.log4j.Category cat
Constructor Detail

GoUseCaseToExtensionPoint

public GoUseCaseToExtensionPoint()
Method Detail

getRuleName

public java.lang.String getRuleName()

Give a name to this rule.

Overrides:
getRuleName in class AbstractGoRule
Returns:
The name of the rule ("Use Case->Extension Point").

getChildren

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

isLeaf

public boolean isLeaf(java.lang.Object node)

Test if the given object is a leaf from a use case.

Overrides:
isLeaf in class AbstractGoRule
Parameters:
node - The node to test.
Returns:
false if node is a use case and has children, true otherwise.


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