kaapo.types
Class TypeManager

java.lang.Object
  extended by kaapo.types.TypeManager

public class TypeManager
extends Object

TypeManager class load diagramtypes and tooltypes. It reads all the class files in diagrams directory and creates class objects from those files. It also reads content in diagramComponents file and do those class files same as previous. It has also specified method to get text tools class.

Author:
tkallioi

Constructor Summary
TypeManager()
          basic constructor
 
Method Summary
 LinkedList<Class> getDiagrams()
          getDiagram() method is used to get diagramtypes into use.
 Class getTextElement()
          getTextElement() method is used to get text element into use.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeManager

public TypeManager()
basic constructor

Method Detail

getDiagrams

public LinkedList<Class> getDiagrams()
getDiagram() method is used to get diagramtypes into use.

Returns:
list of classes, which might be empty

getTextElement

public Class getTextElement()
getTextElement() method is used to get text element into use.

Returns:
text elements class, or null