Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
af3
AF3
Commits
21b96776
Commit
21b96776
authored
May 10, 2012
by
Florian Hölzl
Browse files
added source and C model
refs 121
parent
fc7476a5
Changes
7
Hide whitespace changes
Inline
Side-by-side
org.fortiss.af3.generator.common/trunk/.classpath
View file @
21b96776
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpath>
<classpathentry
kind=
"src"
path=
"generated-src"
/>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"
/>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"
/>
<classpathentry
kind=
"con"
path=
"org.eclipse.pde.core.requiredPlugins"
/>
<classpathentry
kind=
"con"
path=
"org.eclipse.pde.core.requiredPlugins"
/>
<classpathentry
kind=
"src"
path=
"src"
/>
<classpathentry
kind=
"src"
path=
"src"
/>
...
...
org.fortiss.af3.generator.common/trunk/build.properties
View file @
21b96776
# <copyright>
# (c) 2011 ForTISS GmbH
# </copyright>
#
# $Id$
bin.includes
=
.,
\
bin.includes
=
.,
\
META-INF/
model/,
\
source..
=
src/
META-INF/,
\
plugin.xml,
\
plugin.properties
jars.compile.order
=
.
source..
=
generated-src/,
\
src/
output..
=
build/
output..
=
build/
org.fortiss.af3.generator.common/trunk/model/generate-ecore.xml
0 → 100644
View file @
21b96776
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--
$Id$
@version $Rev$
@ConQAT.Rating GREEN Hash: AE69A68B14ECD0C7042691CA5D6EE05A
-->
<project
name=
"org.fortiss.af3.expression"
default=
"generate-ecore"
basedir=
".."
>
<property
name=
"model.name"
value=
"languages"
/>
<property
name=
"model.project"
value=
"org.fortiss.af3.generator.common"
/>
<!-- Classpath Definition -->
<buckminster.valuepath
id=
"project.classpath"
value=
"${fs:project.classpath}"
/>
<path
id=
"classpath"
>
<path
refid=
"project.classpath"
/>
<!-- add src to the classpath as only the bin directory is in the classpath
and some resources such as the workflow or properties file might not yet
have been copied to the bin directory -->
<pathelement
location=
"src"
/>
</path>
<!-- Generation Tasks -->
<target
name=
"generate-ecore"
>
<emf.Ecore2Java
model=
"model/${model.name}.ecore"
genModel=
"model/${model.name}.genmodel"
modelProject=
"/${model.project}"
modelProjectFragmentPath=
"generated-src"
reconcileGenModel=
"reload"
>
</emf.Ecore2Java>
</target>
</project>
\ No newline at end of file
org.fortiss.af3.generator.common/trunk/model/languages.ecore
0 → 100644
View file @
21b96776
<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage
xmi:version=
"2.0"
xmlns:xmi=
"http://www.omg.org/XMI"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore=
"http://www.eclipse.org/emf/2002/Ecore"
name=
"model"
nsURI=
"http://www.fortiss.org/af3/generator/common/languages"
nsPrefix=
"org-fortiss-af3-generator-common-languages"
>
<eSubpackages
name=
"source"
nsURI=
"http://www.fortiss.org/af3/generator/common/languages/source"
nsPrefix=
"org-fortiss-af3-generator-common-languages-source"
>
<eClassifiers
xsi:type=
"ecore:EClass"
name=
"Source"
/>
</eSubpackages>
<eSubpackages
name=
"c"
nsURI=
"http://www.fortiss.org/af3/generator/common/languages/c"
nsPrefix=
"org-fortiss-af3-generator-common-languages-c"
/>
</ecore:EPackage>
org.fortiss.af3.generator.common/trunk/model/languages.genmodel
0 → 100644
View file @
21b96776
<?xml version="1.0" encoding="UTF-8"?>
<genmodel:GenModel
xmi:version=
"2.0"
xmlns:xmi=
"http://www.omg.org/XMI"
xmlns:genmodel=
"http://www.eclipse.org/emf/2002/GenModel"
copyrightText=
"(c) 2011 ForTISS GmbH"
modelDirectory=
"/org.fortiss.af3.generator.common/generated-src"
editDirectory=
"org.fortiss.af3.generator.common.edit/src"
editorDirectory=
"/org.fortiss.af3.generator.common.editor/src"
modelPluginID=
"org.fortiss.af3.generator.common"
modelName=
"Model"
modelPluginClass=
""
editPluginClass=
"org.fortiss.af3.generator.common.model.provider.ModelEditPlugin"
editorPluginClass=
"org.fortiss.af3.generator.common.model.presentation.ModelEditorPlugin"
testsDirectory=
"/org.fortiss.af3.generator.common.tests/test-src"
importerID=
"org.eclipse.emf.importer.ecore"
containmentProxies=
"true"
arrayAccessors=
"true"
complianceLevel=
"5.0"
copyrightFields=
"false"
language=
""
>
<foreignModel>
languages.ecore
</foreignModel>
<genPackages
prefix=
"AF3GeneratorCommonLanguages"
basePackage=
"org.fortiss.af3.generator.common"
disposableProviderFactory=
"true"
ecorePackage=
"languages.ecore#/"
>
<nestedGenPackages
prefix=
"Source"
disposableProviderFactory=
"true"
ecorePackage=
"languages.ecore#//source"
>
<genClasses
ecoreClass=
"languages.ecore#//source/Source"
/>
</nestedGenPackages>
<nestedGenPackages
prefix=
"C"
disposableProviderFactory=
"true"
ecorePackage=
"languages.ecore#//c"
/>
</genPackages>
</genmodel:GenModel>
org.fortiss.af3.generator.common/trunk/plugin.properties
0 → 100644
View file @
21b96776
# (c) 2011 ForTISS GmbH
pluginName
=
AF3 Generator common
providerName
=
fortiss GmbH
org.fortiss.af3.generator.common/trunk/plugin.xml
0 → 100644
View file @
21b96776
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<!--
(c) 2011 ForTISS GmbH
-->
<plugin>
<extension
point=
"org.eclipse.emf.ecore.generated_package"
>
<package
uri=
"http://www.fortiss.org/af3/generator/common/languages/source"
class=
"org.fortiss.af3.generator.common.model.source.SourcePackage"
genModel=
"model/languages.genmodel"
/>
</extension>
</plugin>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment