public final class CustomFileTemplate extends FileTemplateBase
ATTRIBUTE_CALL_SUPER, ATTRIBUTE_CLASS_NAME, ATTRIBUTE_DEFAULT_RETURN_VALUE, ATTRIBUTE_DESCRIPTION, ATTRIBUTE_DIR_PATH, ATTRIBUTE_DISPLAY_NAME, ATTRIBUTE_EXCEPTION, ATTRIBUTE_EXCEPTION_TYPE, ATTRIBUTE_EXPRESSION, ATTRIBUTE_EXPRESSION_TYPE, ATTRIBUTE_FILE_NAME, ATTRIBUTE_METHOD_NAME, ATTRIBUTE_NAME, ATTRIBUTE_PACKAGE_NAME, ATTRIBUTE_PLAIN_CALL_SUPER, ATTRIBUTE_RETURN_TYPE, ATTRIBUTE_SIMPLE_CLASS_NAME, EMPTY_ARRAY, ourEncoding
Constructor and Description |
---|
CustomFileTemplate(java.lang.String name,
java.lang.String extension) |
Modifier and Type | Method and Description |
---|---|
CustomFileTemplate |
clone() |
java.lang.String |
getDescription() |
java.lang.String |
getExtension() |
java.lang.String |
getName()
Name without extension
|
boolean |
isDefault() |
void |
setExtension(java.lang.String extension) |
void |
setName(java.lang.String name) |
getDefaultText, getQualifiedName, getQualifiedName, getText, getText, getText, getUnsetAttributes, isLiveTemplateEnabled, isLiveTemplateEnabledByDefault, isLiveTemplateEnabledChanged, isReformatCode, isTemplateOfType, setLiveTemplateEnabled, setReformatCode, setText
public CustomFileTemplate(java.lang.String name, java.lang.String extension)
public java.lang.String getName()
FileTemplate
public void setName(java.lang.String name)
public java.lang.String getExtension()
public void setExtension(java.lang.String extension)
public java.lang.String getDescription()
public CustomFileTemplate clone()
clone
in interface FileTemplate
clone
in class FileTemplateBase
public boolean isDefault()