org.eclipse.tigerstripe.workbench.plugins
Interface ITemplateBasedRule

All Superinterfaces:
IFileGeneratingRule, IRule
All Known Subinterfaces:
IGlobalTemplateRule

public interface ITemplateBasedRule
extends IFileGeneratingRule

Top-level interface for Template rules in a Pluggable Plugin

Since:
1.2
Author:
Eric Dillon

Field Summary
 
Fields inherited from interface org.eclipse.tigerstripe.workbench.plugins.IRule
ALLARTIFACTS, ALLASSOCIATIONCLASSES, ALLASSOCIATIONS, ALLDATATYPES, ALLDEPENDENCIES, ALLENTITIES, ALLENUMERATIONS, ALLEVENTS, ALLEXCEPTIONS, ALLPACKAGES, ALLPLUGINCONFIG, ALLQUERIES, ALLSESSIONS, ALLUPDATEPROCEDURES, ANNOTATIONCONTEXT, ARTIFACT, ARTIFACT_CLASS, ARTIFACTS, ASSOCIATIONCLASSES, ASSOCIATIONS, DATATYPES, DEPENDENCIES, DIAGRAMGENERATOR, ENTITIES, ENUMERATIONS, EVENTS, EXCEPTIONS, EXP, INCLUDEDEPENDENCIES, MANAGER, MANAGERSESSION, OVERWRITEFILES, PACKAGES, PLUGINCONFIG, PLUGINDIR, QUERIES, REPORT, RUNTIME, SESSIONS, SUPPRESSFILES, TSPROJECT, TSPROJECTHANDLE, UPDATEPROCEDURES
 
Method Summary
 void addMacroLibraries(java.lang.String[] library)
           
 void addMacroLibrary(java.lang.String library)
           
 void addVelocityContextDefinition(org.eclipse.tigerstripe.workbench.internal.core.plugin.pluggable.VelocityContextDefinition def)
           
 void addVelocityContextDefinitions(org.eclipse.tigerstripe.workbench.internal.core.plugin.pluggable.VelocityContextDefinition[] def)
           
 java.lang.String[] getMacroLibraries()
           
 java.lang.String getOutputFile()
           
 java.lang.String getTemplate()
           
 org.eclipse.tigerstripe.workbench.internal.core.plugin.pluggable.VelocityContextDefinition[] getVelocityContextDefinitions()
           
 boolean hasMacroLibrary()
           
 void removeMacroLibraries(java.lang.String[] library)
           
 void removeMacroLibrary(java.lang.String library)
           
 void removeVelocityContextDefinition(org.eclipse.tigerstripe.workbench.internal.core.plugin.pluggable.VelocityContextDefinition def)
           
 void removeVelocityContextDefinitions(org.eclipse.tigerstripe.workbench.internal.core.plugin.pluggable.VelocityContextDefinition[] def)
           
 void setOutputFile(java.lang.String outputFile)
           
 void setTemplate(java.lang.String template)
           
 
Methods inherited from interface org.eclipse.tigerstripe.workbench.plugins.IFileGeneratingRule
isOverwriteFiles, isSuppressEmptyFiles, setOverwriteFiles, setSuppressEmptyFiles
 
Methods inherited from interface org.eclipse.tigerstripe.workbench.plugins.IRule
getDescription, getLabel, getName, getType, isEnabled, setDescription, setEnabled, setName
 

Method Detail

getTemplate

java.lang.String getTemplate()

setTemplate

void setTemplate(java.lang.String template)

getOutputFile

java.lang.String getOutputFile()

setOutputFile

void setOutputFile(java.lang.String outputFile)

getVelocityContextDefinitions

org.eclipse.tigerstripe.workbench.internal.core.plugin.pluggable.VelocityContextDefinition[] getVelocityContextDefinitions()

addVelocityContextDefinition

void addVelocityContextDefinition(org.eclipse.tigerstripe.workbench.internal.core.plugin.pluggable.VelocityContextDefinition def)

removeVelocityContextDefinition

void removeVelocityContextDefinition(org.eclipse.tigerstripe.workbench.internal.core.plugin.pluggable.VelocityContextDefinition def)

addVelocityContextDefinitions

void addVelocityContextDefinitions(org.eclipse.tigerstripe.workbench.internal.core.plugin.pluggable.VelocityContextDefinition[] def)

removeVelocityContextDefinitions

void removeVelocityContextDefinitions(org.eclipse.tigerstripe.workbench.internal.core.plugin.pluggable.VelocityContextDefinition[] def)

getMacroLibraries

java.lang.String[] getMacroLibraries()

addMacroLibrary

void addMacroLibrary(java.lang.String library)

removeMacroLibrary

void removeMacroLibrary(java.lang.String library)

addMacroLibraries

void addMacroLibraries(java.lang.String[] library)

removeMacroLibraries

void removeMacroLibraries(java.lang.String[] library)

hasMacroLibrary

boolean hasMacroLibrary()