Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Willink2016-10-30 11:07:49 +0000
committerEd Willink2016-10-30 11:41:02 +0000
commit60f290c300497f4b45d813dfcc02e09dfe4d8af5 (patch)
tree3bbdaf0fe899be59f2d17ba1af83b7ac24c4f180 /plugins
parent5b5a36455a83acad8b46aec54b0d056fe3b26f7b (diff)
downloadorg.eclipse.qvtd-60f290c300497f4b45d813dfcc02e09dfe4d8af5.tar.gz
org.eclipse.qvtd-60f290c300497f4b45d813dfcc02e09dfe4d8af5.tar.xz
org.eclipse.qvtd-60f290c300497f4b45d813dfcc02e09dfe4d8af5.zip
[500962] Add CGMapping.useClass to model
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.qvtd.codegen/model/qvticgmodel.ecore2
-rw-r--r--plugins/org.eclipse.qvtd.codegen/model/qvticgmodel.genmodel1
2 files changed, 3 insertions, 0 deletions
diff --git a/plugins/org.eclipse.qvtd.codegen/model/qvticgmodel.ecore b/plugins/org.eclipse.qvtd.codegen/model/qvticgmodel.ecore
index b76d4c112..3b6697a93 100644
--- a/plugins/org.eclipse.qvtd.codegen/model/qvticgmodel.ecore
+++ b/plugins/org.eclipse.qvtd.codegen/model/qvticgmodel.ecore
@@ -59,6 +59,8 @@
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="transformation" lowerBound="1"
eType="#//CGTransformation" resolveProxies="false" eOpposite="#//CGTransformation/mappings"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="useClass" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
+ defaultValueLiteral="false"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="CGMappingCall" eSuperTypes="../../org.eclipse.ocl.examples.codegen/model/cgmodel.ecore#//CGValuedElement">
<eStructuralFeatures xsi:type="ecore:EReference" name="mappingCallBindings" upperBound="-1"
diff --git a/plugins/org.eclipse.qvtd.codegen/model/qvticgmodel.genmodel b/plugins/org.eclipse.qvtd.codegen/model/qvticgmodel.genmodel
index f72ea5fc9..cf768be87 100644
--- a/plugins/org.eclipse.qvtd.codegen/model/qvticgmodel.genmodel
+++ b/plugins/org.eclipse.qvtd.codegen/model/qvticgmodel.genmodel
@@ -49,6 +49,7 @@
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference qvticgmodel.ecore#//CGMapping/body"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference qvticgmodel.ecore#//CGMapping/freeVariables"/>
<genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference qvticgmodel.ecore#//CGMapping/transformation"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute qvticgmodel.ecore#//CGMapping/useClass"/>
</genClasses>
<genClasses ecoreClass="qvticgmodel.ecore#//CGMappingCall">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference qvticgmodel.ecore#//CGMappingCall/mappingCallBindings"/>

Back to the top