Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Fluegge2011-02-22 21:38:54 +0000
committerMartin Fluegge2011-02-22 21:38:54 +0000
commit8a4ddd6e9ad7206180607c0a3f18e9ca2fc0bbdb (patch)
tree8fbc1120433884a2a3beafd71afd57c19a440b6d /plugins/org.eclipse.emf.cdo.tests.model4interfaces/model
parent969a029246a075fc27744d14298a6577935b5d72 (diff)
downloadcdo-8a4ddd6e9ad7206180607c0a3f18e9ca2fc0bbdb.tar.gz
cdo-8a4ddd6e9ad7206180607c0a3f18e9ca2fc0bbdb.tar.xz
cdo-8a4ddd6e9ad7206180607c0a3f18e9ca2fc0bbdb.zip
[335669] Remove LITERALS constant from CDO test models
https://bugs.eclipse.org/bugs/show_bug.cgi?id=335669
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests.model4interfaces/model')
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model4interfaces/model/interfaces.genmodel2
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model4interfaces/model/interfaces.legacy-genmodel108
2 files changed, 72 insertions, 38 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/model/interfaces.genmodel b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/model/interfaces.genmodel
index 62dce20299..e06e8320b8 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/model/interfaces.genmodel
+++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/model/interfaces.genmodel
@@ -11,7 +11,7 @@
<foreignModel>interfaces.ecore</foreignModel>
<modelPluginVariables>CDO=org.eclipse.emf.cdo</modelPluginVariables>
<genPackages prefix="model4interfaces" basePackage="org.eclipse.emf.cdo.tests" disposableProviderFactory="true"
- ecorePackage="interfaces.ecore#/">
+ literalsInterface="false" ecorePackage="interfaces.ecore#/">
<genClasses image="false" ecoreClass="interfaces.ecore#//ISingleRefContainer">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference interfaces.ecore#//ISingleRefContainer/element"/>
</genClasses>
diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/model/interfaces.legacy-genmodel b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/model/interfaces.legacy-genmodel
index ec04321e4f..b50c546cda 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/model/interfaces.legacy-genmodel
+++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/model/interfaces.legacy-genmodel
@@ -1,55 +1,89 @@
<?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) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.&#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; Eike Stepper - initial API and implementation"
- modelDirectory="/org.eclipse.emf.cdo.tests.model4interfaces/src" editDirectory=""
- editorDirectory="" modelPluginID="org.eclipse.emf.cdo.tests.model4interfaces"
- modelName="Interfaces" updateClasspath="false" codeFormatting="true" testsDirectory=""
- importerID="org.eclipse.emf.importer.cdo" complianceLevel="5.0" copyrightFields="false"
- editPluginID="org.eclipse.emf.cdo.tests.model4interfaces.edit" editorPluginID="org.eclipse.emf.cdo.tests.model4interfaces.edit">
+<genmodel:GenModel 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" xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.&#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; Eike Stepper - initial API and implementation" modelDirectory="/org.eclipse.emf.cdo.tests.model4interfaces/src" editDirectory="" editorDirectory="" modelPluginID="org.eclipse.emf.cdo.tests.model4interfaces" modelName="Interfaces" updateClasspath="false" codeFormatting="true" testsDirectory="" importerID="org.eclipse.emf.importer.cdo" complianceLevel="5.0" copyrightFields="false" editPluginID="org.eclipse.emf.cdo.tests.model4interfaces.edit" editorPluginID="org.eclipse.emf.cdo.tests.model4interfaces.edit">
<foreignModel>interfaces.ecore</foreignModel>
<modelPluginVariables>CDO=org.eclipse.emf.cdo</modelPluginVariables>
- <genPackages prefix="model4interfaces" basePackage="org.eclipse.emf.cdo.tests.legacy"
- disposableProviderFactory="true" ecorePackage="interfaces.ecore#/">
- <genClasses image="false" ecoreClass="interfaces.ecore#//ISingleRefContainer">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference interfaces.ecore#//ISingleRefContainer/element"/>
+ <genPackages prefix="model4interfaces" basePackage="org.eclipse.emf.cdo.tests.legacy" disposableProviderFactory="true" literalsInterface="false">
+ <ecorePackage href="interfaces.ecore#/"/>
+ <genClasses image="false">
+ <ecoreClass href="interfaces.ecore#//ISingleRefContainer"/>
+ <genFeatures property="None" children="true" createChild="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="interfaces.ecore#//ISingleRefContainer/element"/>
+ </genFeatures>
</genClasses>
- <genClasses image="false" ecoreClass="interfaces.ecore#//ISingleRefContainedElement">
- <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference interfaces.ecore#//ISingleRefContainedElement/parent"/>
+ <genClasses image="false">
+ <ecoreClass href="interfaces.ecore#//ISingleRefContainedElement"/>
+ <genFeatures property="None" notify="false" createChild="false">
+ <ecoreFeature xsi:type="ecore:EReference" href="interfaces.ecore#//ISingleRefContainedElement/parent"/>
+ </genFeatures>
</genClasses>
- <genClasses image="false" ecoreClass="interfaces.ecore#//ISingleRefNonContainer">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference interfaces.ecore#//ISingleRefNonContainer/element"/>
+ <genClasses image="false">
+ <ecoreClass href="interfaces.ecore#//ISingleRefNonContainer"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="interfaces.ecore#//ISingleRefNonContainer/element"/>
+ </genFeatures>
</genClasses>
- <genClasses image="false" ecoreClass="interfaces.ecore#//ISingleRefNonContainedElement">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference interfaces.ecore#//ISingleRefNonContainedElement/parent"/>
+ <genClasses image="false">
+ <ecoreClass href="interfaces.ecore#//ISingleRefNonContainedElement"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="interfaces.ecore#//ISingleRefNonContainedElement/parent"/>
+ </genFeatures>
</genClasses>
- <genClasses image="false" ecoreClass="interfaces.ecore#//IMultiRefContainer">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference interfaces.ecore#//IMultiRefContainer/elements"/>
+ <genClasses image="false">
+ <ecoreClass href="interfaces.ecore#//IMultiRefContainer"/>
+ <genFeatures property="None" children="true" createChild="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="interfaces.ecore#//IMultiRefContainer/elements"/>
+ </genFeatures>
</genClasses>
- <genClasses image="false" ecoreClass="interfaces.ecore#//IMultiRefContainedElement">
- <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference interfaces.ecore#//IMultiRefContainedElement/parent"/>
+ <genClasses image="false">
+ <ecoreClass href="interfaces.ecore#//IMultiRefContainedElement"/>
+ <genFeatures property="None" notify="false" createChild="false">
+ <ecoreFeature xsi:type="ecore:EReference" href="interfaces.ecore#//IMultiRefContainedElement/parent"/>
+ </genFeatures>
</genClasses>
- <genClasses image="false" ecoreClass="interfaces.ecore#//IMultiRefNonContainer">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference interfaces.ecore#//IMultiRefNonContainer/elements"/>
+ <genClasses image="false">
+ <ecoreClass href="interfaces.ecore#//IMultiRefNonContainer"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="interfaces.ecore#//IMultiRefNonContainer/elements"/>
+ </genFeatures>
</genClasses>
- <genClasses image="false" ecoreClass="interfaces.ecore#//IMultiRefNonContainedElement">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference interfaces.ecore#//IMultiRefNonContainedElement/parent"/>
+ <genClasses image="false">
+ <ecoreClass href="interfaces.ecore#//IMultiRefNonContainedElement"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="interfaces.ecore#//IMultiRefNonContainedElement/parent"/>
+ </genFeatures>
</genClasses>
- <genClasses image="false" ecoreClass="interfaces.ecore#//INamedElement">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute interfaces.ecore#//INamedElement/name"/>
+ <genClasses image="false">
+ <ecoreClass href="interfaces.ecore#//INamedElement"/>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="interfaces.ecore#//INamedElement/name"/>
+ </genFeatures>
</genClasses>
- <genClasses image="false" ecoreClass="interfaces.ecore#//IContainedElementNoParentLink"/>
- <genClasses image="false" ecoreClass="interfaces.ecore#//ISingleRefContainerNPL">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference interfaces.ecore#//ISingleRefContainerNPL/element"/>
+ <genClasses image="false">
+ <ecoreClass href="interfaces.ecore#//IContainedElementNoParentLink"/>
</genClasses>
- <genClasses image="false" ecoreClass="interfaces.ecore#//ISingleRefNonContainerNPL">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference interfaces.ecore#//ISingleRefNonContainerNPL/element"/>
+ <genClasses image="false">
+ <ecoreClass href="interfaces.ecore#//ISingleRefContainerNPL"/>
+ <genFeatures property="None" children="true" createChild="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="interfaces.ecore#//ISingleRefContainerNPL/element"/>
+ </genFeatures>
</genClasses>
- <genClasses image="false" ecoreClass="interfaces.ecore#//IMultiRefContainerNPL">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference interfaces.ecore#//IMultiRefContainerNPL/elements"/>
+ <genClasses image="false">
+ <ecoreClass href="interfaces.ecore#//ISingleRefNonContainerNPL"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="interfaces.ecore#//ISingleRefNonContainerNPL/element"/>
+ </genFeatures>
</genClasses>
- <genClasses image="false" ecoreClass="interfaces.ecore#//IMultiRefNonContainerNPL">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference interfaces.ecore#//IMultiRefNonContainerNPL/elements"/>
+ <genClasses image="false">
+ <ecoreClass href="interfaces.ecore#//IMultiRefContainerNPL"/>
+ <genFeatures property="None" children="true" createChild="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="interfaces.ecore#//IMultiRefContainerNPL/elements"/>
+ </genFeatures>
+ </genClasses>
+ <genClasses image="false">
+ <ecoreClass href="interfaces.ecore#//IMultiRefNonContainerNPL"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="interfaces.ecore#//IMultiRefNonContainerNPL/elements"/>
+ </genFeatures>
</genClasses>
</genPackages>
</genmodel:GenModel>

Back to the top