org.argouml.ui.explorer.rules
Class GoGeneralizableElementToSpecialized

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

public class GoGeneralizableElementToSpecialized
extends AbstractPerspectiveRule

Rule to navigate from a Generalizable element to its children.

Classifier -> Specialized Classifier


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

GoGeneralizableElementToSpecialized

public GoGeneralizableElementToSpecialized()
Method Detail

getRuleName

public String getRuleName()
Specified by:
getRuleName in interface PerspectiveRule
Specified by:
getRuleName in class AbstractPerspectiveRule
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