Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlgoubet2012-05-02 09:40:25 -0400
committerlgoubet2012-05-03 05:56:25 -0400
commitd1535e7d4e71cb6c0e8dae79b71d3ffad3785a16 (patch)
treeffd61acd4600b2221d34560264ecab64fa75ef66 /plugins/org.eclipse.emf.compare.tests/model/nodes.genmodel
parent5a55fa8d5b72ce4ca6938e5d247501c8d9e36ffb (diff)
downloadorg.eclipse.emf.compare-d1535e7d4e71cb6c0e8dae79b71d3ffad3785a16.tar.gz
org.eclipse.emf.compare-d1535e7d4e71cb6c0e8dae79b71d3ffad3785a16.tar.xz
org.eclipse.emf.compare-d1535e7d4e71cb6c0e8dae79b71d3ffad3785a16.zip
Contributing test metamodel wit the necessary "specific" features (multiple containment features, single-valued containment, multi-valued attribute...) and its generated code.
Diffstat (limited to 'plugins/org.eclipse.emf.compare.tests/model/nodes.genmodel')
-rw-r--r--plugins/org.eclipse.emf.compare.tests/model/nodes.genmodel35
1 files changed, 35 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.compare.tests/model/nodes.genmodel b/plugins/org.eclipse.emf.compare.tests/model/nodes.genmodel
new file mode 100644
index 000000000..cc57fd36f
--- /dev/null
+++ b/plugins/org.eclipse.emf.compare.tests/model/nodes.genmodel
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
+ xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="Copyright (c) 2011, 2012 Obeo.&#xD;&#xA;All rights reserved. This program and the accompanying materials&#xD;&#xA;are made available under the terms of the Eclipse Public License v1.0&#xD;&#xA;which accompanies this distribution, and is available at&#xD;&#xA;http://www.eclipse.org/legal/epl-v10.html&#xD;&#xA;&#xD;&#xA;Contributors:&#xD;&#xA; Obeo - initial API and implementation"
+ modelDirectory="/org.eclipse.emf.compare.tests/src-gen" modelPluginID="org.eclipse.emf.compare.tests"
+ modelName="Nodes" nonNLSMarkers="true" importerID="org.eclipse.emf.importer.ecore"
+ complianceLevel="5.0" runtimeVersion="2.4">
+ <foreignModel>nodes.ecore</foreignModel>
+ <genPackages prefix="Nodes" basePackage="org.eclipse.emf.compare.tests" resource="XMI"
+ disposableProviderFactory="true" contentTypeIdentifier="org.eclipse.emf.compare.test.nodes.contenttype"
+ ecorePackage="nodes.ecore#/">
+ <genClasses ecoreClass="nodes.ecore#//Node">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute nodes.ecore#//Node/name"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference nodes.ecore#//Node/containmentRef1"/>
+ </genClasses>
+ <genClasses ecoreClass="nodes.ecore#//NodeMultipleContainment">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference nodes.ecore#//NodeMultipleContainment/containmentRef2"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference nodes.ecore#//NodeMultipleContainment/containmentRef3"/>
+ </genClasses>
+ <genClasses ecoreClass="nodes.ecore#//NodeSingleValueContainment">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference nodes.ecore#//NodeSingleValueContainment/singleValueContainment"/>
+ </genClasses>
+ <genClasses ecoreClass="nodes.ecore#//NodeSingleValueAttribute">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute nodes.ecore#//NodeSingleValueAttribute/singleValuedAttribute"/>
+ </genClasses>
+ <genClasses ecoreClass="nodes.ecore#//NodeMultiValuedAttribute">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute nodes.ecore#//NodeMultiValuedAttribute/multiValuedAttribute"/>
+ </genClasses>
+ <genClasses ecoreClass="nodes.ecore#//NodeSingleValueReference">
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference nodes.ecore#//NodeSingleValueReference/singleValuedReference"/>
+ </genClasses>
+ <genClasses ecoreClass="nodes.ecore#//NodeMultiValueReference">
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference nodes.ecore#//NodeMultiValueReference/multiValuedReference"/>
+ </genClasses>
+ </genPackages>
+</genmodel:GenModel>

Back to the top