com.borland.primetime.insight.template
Class TemplateManager
java.lang.Object
|
+--com.borland.primetime.insight.template.TemplateManager
- public class TemplateManager
- extends java.lang.Object
This class manages CodeTemplates. There should be one static instance of
this class in the system, and it can be accessed through its static members.
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
TEMPLATE_DELIMITERS
public static java.lang.String TEMPLATE_DELIMITERS
templateSet
protected static TemplateSet templateSet
invoke
public static void invoke(EditorPane editor)
isValidTemplateName
public static boolean isValidTemplateName(java.lang.String text)
- Return true if the specified text is a valid template name.
getTemplates
public static CodeTemplate[] getTemplates()
setTemplates
public static void setTemplates(CodeTemplate[] templates)
getStockTemplates
public static CodeTemplate[] getStockTemplates()