org.argouml.ui.explorer.rules
Class GoUseCaseToExtensionPoint

java.lang.Object
  extended byorg.argouml.ui.explorer.rules.AbstractPerspectiveRule
      extended byorg.argouml.ui.explorer.rules.GoUseCaseToExtensionPoint
All Implemented Interfaces:
PerspectiveRule

public class GoUseCaseToExtensionPoint
extends AbstractPerspectiveRule

Rule for Use Case->Extension Point. Provides a rule to display extension points in the navigation pane.


Constructor Summary
GoUseCaseToExtensionPoint()
           
 
Method Summary
 Collection getChildren(Object parent)
          Gets a collection of 'child' objects for the given 'parent' object in the uml model, which creates the tree structure.
 Set getDependencies(Object parent)
          Gets a collection of objects for any 'parent' object in the uml model for which the tree structure must be recreated when they are changed.
 String getRuleName()
          Give a name to this rule.
 
Methods inherited from class org.argouml.ui.explorer.rules.AbstractPerspectiveRule
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GoUseCaseToExtensionPoint

public GoUseCaseToExtensionPoint()
Method Detail

getRuleName

public String getRuleName()
Give a name to this rule.

Specified by:
getRuleName in interface PerspectiveRule
Specified by:
getRuleName in class AbstractPerspectiveRule
Returns:
The name of the rule ("Use Case->Extension Point").
See Also:
PerspectiveRule.getRuleName()

getChildren

public Collection getChildren(Object parent)
Description copied from interface: PerspectiveRule
Gets a collection of 'child' objects for the given 'parent' object in the uml model, which creates the tree structure.

Specified by:
getChildren in interface PerspectiveRule
Specified by:
getChildren in class AbstractPerspectiveRule
See Also:
PerspectiveRule.getChildren(java.lang.Object)

getDependencies

public Set getDependencies(Object parent)
Description copied from interface: PerspectiveRule
Gets a collection of objects for any 'parent' object in the uml model for which the tree structure must be recreated when they are changed.

Parameters:
parent - the parent
Returns:
the dependent objects
See Also:
PerspectiveRule.getDependencies(java.lang.Object)


ArgoUML © 1996-2004 (20050222)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook