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.
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
templateMap
protected static CodeTemplate[] templateMap
maxNameLength
protected static int maxNameLength
maxDescriptionLength
protected static int maxDescriptionLength
TemplateSet
public TemplateSet()
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()