org.argouml.uml
Class GenDescendantClasses

java.lang.Object
  extended byorg.argouml.uml.GenDescendantClasses
All Implemented Interfaces:
org.tigris.gef.util.ChildGenerator, java.io.Serializable

public class GenDescendantClasses
extends java.lang.Object
implements org.tigris.gef.util.ChildGenerator

Utility class to generate the subclasses of a class. It recursively moves down the class hierarchy. But it does that in a safe way that will nothang in case of cyclic inheritance.

See Also:
Serialized Form

Field Summary
static GenDescendantClasses SINGLETON
           
 
Constructor Summary
GenDescendantClasses()
           
 
Method Summary
 void accumulateDescendants(ru.novosoft.uml.foundation.core.MGeneralizableElement cls, java.util.Vector accum)
           
 java.util.Enumeration gen(java.lang.Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SINGLETON

public static GenDescendantClasses SINGLETON
Constructor Detail

GenDescendantClasses

public GenDescendantClasses()
Method Detail

gen

public java.util.Enumeration gen(java.lang.Object o)
Specified by:
gen in interface org.tigris.gef.util.ChildGenerator

accumulateDescendants

public void accumulateDescendants(ru.novosoft.uml.foundation.core.MGeneralizableElement cls,
                                  java.util.Vector accum)


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