Modifier and Type | Method and Description |
---|---|
void |
addTemplateType(java.lang.String templateName,
org.eclipse.core.resources.IFile templateFile)
Add new templates that can be used to build custom Forms
|
void |
setAssignmentPattern(java.lang.String regex)
Set the string that will be recognized as an assignment operator for
assigning variables values within the file.
|
void |
setCommentString(java.lang.String regex)
Set the string that will be recognized as a comment when reading the
file.
|
void |
setIndentString(java.lang.String regex)
Set the string that will be recognized as indentation when reading the
file
|
void |
setSectionPattern(java.lang.String regex)
Set the string that will be recognized as the section delimiter when
reading the file.
|
void |
setTemplateType(java.lang.String template)
Set the type of template that will be used to build the initial Form
|
findAll, getReaderType, read
void setCommentString(java.lang.String regex)
regex
- The pattern that will be matched to a commentvoid setIndentString(java.lang.String regex)
regex
- The pattern that will be matched to indentationvoid setSectionPattern(java.lang.String regex)
regex
- The pattern that will be matched to a section headervoid setAssignmentPattern(java.lang.String regex)
regex
- The pattern that will be matched to variable assignmentsvoid setTemplateType(java.lang.String template)
template
- A string matching the type of template to usevoid addTemplateType(java.lang.String templateName, org.eclipse.core.resources.IFile templateFile)
templateFile
- The file representation of the templatetemplateName
- A name to grab the template via the setTemplateType method