| <workflow> |
| <property file="org/eclipse/amp/amf/parameters/GenerateAPar.properties"/> |
| |
| <property name="runtimeProject" value="../${projectName}"/> |
| |
| <bean class="org.eclipse.emf.mwe.utils.StandaloneSetup" platformUri="${runtimeProject}/.."> |
| <registerGeneratedEPackage value="org.metaabm.MetaABMPackage"/> |
| <registerGeneratedEPackage value="org.metaabm.act.MetaABMActPackage"/> |
| <registerGeneratedEPackage value="org.metaabm.function.MetaABMFunctionPackage"/> |
| </bean> |
| |
| <bean class="org.eclipse.emf.mwe.utils.StandaloneSetup" platformUri="${runtimeProject}/.."/> |
| |
| <component class="org.eclipse.emf.mwe.utils.DirectoryCleaner" directory="${runtimeProject}/src-gen"/> |
| <component class="org.eclipse.emf.mwe.utils.DirectoryCleaner" directory="${runtimeProject}.ui/src-gen"/> |
| |
| <component class="org.eclipse.xtext.generator.Generator"> |
| <pathRtProject value="${runtimeProject}"/> |
| <pathUiProject value="${runtimeProject}.ui"/> |
| <projectNameRt value="${projectName}"/> |
| <projectNameUi value="${projectName}.ui"/> |
| |
| <language uri="${grammarURI}" fileExtensions="${file.extensions}"> |
| <!-- Java API to access grammar elements (required by several other fragments) --> |
| <fragment class="org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment"/> |
| |
| <!-- generates Java API for the generated EPackages --> |
| <fragment class="org.eclipse.xtext.generator.ecore.EcoreGeneratorFragment" genModels="platform:/resource/org.eclipse.amp.amf.acore/src/model/metaabm.genmodel,platform:/resource/org.eclipse.amp.amf.abase/src-gen/org/eclipse/amp/amf/abase/ABase.genmodel"/> |
| |
| <!-- the serialization component --> |
| <fragment class="org.eclipse.xtext.generator.parseTreeConstructor.ParseTreeConstructorFragment"/> |
| |
| <!-- a custom ResourceFactory for use with EMF --> |
| <fragment class="org.eclipse.xtext.generator.resourceFactory.ResourceFactoryFragment" |
| fileExtensions="${file.extensions}"/> |
| |
| <!-- the following fragment tries to use the Antlr Generator fragment which can be installed via update manager from http://download.itemis.com/updates --> |
| <fragment class="org.eclipse.xtext.generator.AntlrDelegatingFragment" /> |
| |
| <!-- If you don't want to use the Antlr fragment for some reason, remove the antlr fragment and uncomment the packrat parser fragment below. |
| <fragment class="org.eclipse.xtext.generator.parser.PackratParserFragment"/> |
| --> |
| |
| <!-- check-based API for validation --> |
| <!-- |
| <fragment class="org.eclipse.xtext.generator.validation.CheckFragment"/> |
| --> |
| |
| <!-- java-based API for validation --> |
| <fragment class="org.eclipse.xtext.generator.validation.JavaValidatorFragment"> |
| <composedCheck value="org.eclipse.xtext.validation.ImportUriValidator"/> |
| </fragment> |
| |
| |
| <!-- scoping API --> |
| <fragment class="org.eclipse.xtext.generator.scoping.JavaScopingFragment"/> |
| |
| <!-- formatter API --> |
| <fragment class="org.eclipse.xtext.generator.formatting.FormatterFragment"/> |
| |
| <!-- labeling API --> |
| <fragment class="org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment"/> |
| |
| <!-- outline API --> |
| <fragment class="org.eclipse.xtext.ui.generator.outline.TransformerFragment"/> |
| <fragment class="org.eclipse.xtext.ui.generator.outline.OutlineNodeAdapterFactoryFragment"/> |
| |
| |
| <!-- java-based API for content assistance --> |
| <fragment class="org.eclipse.xtext.ui.generator.contentAssist.JavaBasedContentAssistFragment"/> |
| <!-- the following fragment tries to use the Antlr based content assist fragment which can be downloaded from http://www.itemis.com |
| and will be ignored if it's not available. --> |
| <fragment class="org.eclipse.xtext.generator.DelegatingGeneratorFragment" |
| delegate="de.itemis.xtext.antlr.XtextAntlrUiGeneratorFragment" |
| message="You are generating without ANTLR. It is highly recommended to download and use the plugin 'de.itemis.xtext.antlr' \n\t using the update site http://download.itemis.com/updates/."> |
| </fragment> |
| <!-- <fragment class="de.itemis.xtext.antlr.XtextAntlrUiGeneratorFragment"/> --> |
| |
| <!-- project wizard (optional) --> |
| <!-- |
| <fragment class="org.eclipse.xtext.ui.generator.projectWizard.SimpleProjectWizardFragment" |
| generatorProjectName="${projectName}.generator" modelFileExtension="${file.extensions}"/> |
| --> |
| </language> |
| </component> |
| </workflow> |