org.argouml.ui.explorer.rules
Class GoClassToSummary

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

public class GoClassToSummary
extends AbstractPerspectiveRule

This class is a Go Rule for the "Class - centric" Navigation perspective. Rule for Class->Summary. $Revision: 1.14 $

Since:
argo 0.13.4, Created on 21 March 2003, 23:18

Constructor Summary
GoClassToSummary()
           
 
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()
           
private  boolean hasIncomingDependencies(Object parent)
           
private  boolean hasInheritance(Object parent)
           
private  boolean hasOutGoingDependencies(Object parent)
           
 
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

GoClassToSummary

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

hasIncomingDependencies

private boolean hasIncomingDependencies(Object parent)

hasOutGoingDependencies

private boolean hasOutGoingDependencies(Object parent)

hasInheritance

private boolean hasInheritance(Object parent)


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