|
EGF Engine Release 0.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.egf.pattern.internal.production.jet.JetProductionContributor
public class JetProductionContributor
| Constructor Summary | |
|---|---|
JetProductionContributor()
|
|
| Method Summary | |
|---|---|
boolean |
compileTemplate(String patternTemplatePath_p,
PatternHandler.PatternData patternData_p)
Compile given template, if applicable. |
Couple<StringBuilder,StringBuilder> |
createPatternMatchingTemplates(PatternHandler.PatternData patternData_p,
List<ParameterRelation> parameters_p)
Create pre/post pattern matching templates. |
void |
fillGenerateHeader(PatternHandler.PatternData patternData_p,
AnnotationHandler handler_p)
Fill, if applicable, generateHeader method of the pattern, if it does not exist or is empty. |
protected static void |
performManifestChanges(PatternHandler.PatternData patternData_p,
IPluginChangesCommand command_p)
Perform changes on manifest file. |
protected static void |
performPluginChanges(PatternHandler.PatternData patternData_p,
IPluginChangesCommand command_p)
Perform changes on plugin.xml file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JetProductionContributor()
| Method Detail |
|---|
public Couple<StringBuilder,StringBuilder> createPatternMatchingTemplates(PatternHandler.PatternData patternData_p,
List<ParameterRelation> parameters_p)
IProductionContributor
createPatternMatchingTemplates in interface IProductionContributorpatternData_p - The structure containing most of the pattern required data for generation.parameters_p - The fully resolved list of parameters (including parent hierarchy) for considered pattern.
StringBuilder containing resulting template code, null if there is no such content.IProductionContributor.createPatternMatchingTemplates(org.eclipse.egf.pattern.ecore.PatternHandler.PatternData,
java.util.List)
public boolean compileTemplate(String patternTemplatePath_p,
PatternHandler.PatternData patternData_p)
throws Exception
IProductionContributor
compileTemplate in interface IProductionContributorExceptionIProductionContributor.compileTemplate(java.lang.String,
org.eclipse.egf.pattern.ecore.PatternHandler.PatternData)
public void fillGenerateHeader(PatternHandler.PatternData patternData_p,
AnnotationHandler handler_p)
throws Exception
IProductionContributor
fillGenerateHeader in interface IProductionContributorhandler_p - A usable annotation handler, null if none.
ExceptionIProductionContributor.fillGenerateHeader(org.eclipse.egf.pattern.ecore.PatternHandler.PatternData,
org.eclipse.egf.pattern.ecore.AnnotationHandler)
protected static void performManifestChanges(PatternHandler.PatternData patternData_p,
IPluginChangesCommand command_p)
patternData_p - command_p -
protected static void performPluginChanges(PatternHandler.PatternData patternData_p,
IPluginChangesCommand command_p)
patternData_p - command_p -
|
EGF Engine Release 0.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) Thales Corporate Services S.A.S, 2009.
This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.