Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2006-08-10 00:03:21 -0400
committerEike Stepper2006-08-10 00:03:21 -0400
commit0dc0e081796856373a370adf238732e19bb6bbfb (patch)
treec045c439d256c8a4bd718b68c9c74ac46e982e34 /plugins/org.eclipse.emf.cdo.tests/model
parent1211f45fea16de8e7bad80dcdb5368e03c6298ee (diff)
downloadcdo-0dc0e081796856373a370adf238732e19bb6bbfb.tar.gz
cdo-0dc0e081796856373a370adf238732e19bb6bbfb.tar.xz
cdo-0dc0e081796856373a370adf238732e19bb6bbfb.zip
*** empty log message ***
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests/model')
-rw-r--r--plugins/org.eclipse.emf.cdo.tests/model/TestModel1.ecore17
-rw-r--r--plugins/org.eclipse.emf.cdo.tests/model/TestModel1.genmodel21
2 files changed, 38 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests/model/TestModel1.ecore b/plugins/org.eclipse.emf.cdo.tests/model/TestModel1.ecore
new file mode 100644
index 0000000000..586af7c08e
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.tests/model/TestModel1.ecore
@@ -0,0 +1,17 @@
+<?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="testmodel1"
+ nsURI="http://www.eclipse.org/emf/cdo/2006/TestModel1" nsPrefix="testmodel1">
+ <eClassifiers xsi:type="ecore:EClass" name="TreeNode" eSuperTypes="../../org.eclipse.emf.cdo.client/model/client.ecore#//CDOPersistent">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="parent" eType="#//TreeNode"
+ eOpposite="#//TreeNode/children"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="children" upperBound="-1"
+ eType="#//TreeNode" containment="true" eOpposite="#//TreeNode/parent"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="references" upperBound="-1"
+ eType="#//TreeNode"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="booleanFeature" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="intFeature" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="stringFeature" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eClassifiers>
+</ecore:EPackage>
diff --git a/plugins/org.eclipse.emf.cdo.tests/model/TestModel1.genmodel b/plugins/org.eclipse.emf.cdo.tests/model/TestModel1.genmodel
new file mode 100644
index 0000000000..f394e468a5
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.tests/model/TestModel1.genmodel
@@ -0,0 +1,21 @@
+<?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" modelDirectory="/org.eclipse.emf.cdo.tests/src"
+ editDirectory="" editorDirectory="" modelPluginID="org.eclipse.emf.cdo.tests"
+ templateDirectory="platform:resource/org.eclipse.emf.cdo.client/templates" dynamicTemplates="true"
+ modelName="TestModel1" editPluginClass="" editorPluginClass="" codeFormatting="true"
+ testsDirectory="" testSuiteClass="" importerID="org.eclipse.emf.importer.ecore"
+ usedGenPackages="../../org.eclipse.emf.cdo.client/model/client.genmodel#//client">
+ <foreignModel>TestModel1.ecore</foreignModel>
+ <genPackages prefix="TestModel1" disposableProviderFactory="true" ecorePackage="TestModel1.ecore#/">
+ <genClasses ecoreClass="TestModel1.ecore#//TreeNode">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference TestModel1.ecore#//TreeNode/parent"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference TestModel1.ecore#//TreeNode/children"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference TestModel1.ecore#//TreeNode/references"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TestModel1.ecore#//TreeNode/booleanFeature"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TestModel1.ecore#//TreeNode/intFeature"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TestModel1.ecore#//TreeNode/stringFeature"/>
+ </genClasses>
+ </genPackages>
+</genmodel:GenModel>

Back to the top