com.borland.primetime.insight.template
Class TemplateSet

java.lang.Object
  |
  +--com.borland.primetime.insight.template.TemplateSet

public class TemplateSet
extends java.lang.Object

This class manages one set of CodeTemplates.


Field Summary
protected static int maxDescriptionLength
           
protected static int maxNameLength
           
protected static CodeTemplate[] templateMap
           
 
Constructor Summary
TemplateSet()
           
 
Method Summary
static void addTemplate(CodeTemplate template)
          Add a new CodeTemplate belonging to this set.
static int getMaxDescriptionLength()
           
static int getMaxNameLength()
           
static CodeTemplate[] getStockTemplates()
           
static CodeTemplate[] getTemplates()
          Return the array of CodeTemplates belonging to this set.
static void setTemplates(CodeTemplate[] templates)
          Set the array of CodeTemplates belonging to this set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

templateMap

protected static CodeTemplate[] templateMap

maxNameLength

protected static int maxNameLength

maxDescriptionLength

protected static int maxDescriptionLength
Constructor Detail

TemplateSet

public TemplateSet()
Method Detail

getTemplates

public static CodeTemplate[] getTemplates()
Return the array of CodeTemplates belonging to this set.

setTemplates

public static void setTemplates(CodeTemplate[] templates)
Set the array of CodeTemplates belonging to this set.

addTemplate

public static void addTemplate(CodeTemplate template)
Add a new CodeTemplate belonging to this set.

getMaxNameLength

public static int getMaxNameLength()

getMaxDescriptionLength

public static int getMaxDescriptionLength()

getStockTemplates

public static CodeTemplate[] getStockTemplates()