Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon McDuff2008-10-19 01:29:08 +0000
committerSimon McDuff2008-10-19 01:29:08 +0000
commit5a3c0197ba134bb9cee54bd9952ce1a8aff9fbdf (patch)
treebd4dd1a0a3bdcb1c95046cc70c6876c0f4b211cd /plugins/org.eclipse.emf.cdo/model/resource.genmodel
parent5d07b888b76e385204a2188780c35dc7727c0d8c (diff)
downloadcdo-5a3c0197ba134bb9cee54bd9952ce1a8aff9fbdf.tar.gz
cdo-5a3c0197ba134bb9cee54bd9952ce1a8aff9fbdf.tar.xz
cdo-5a3c0197ba134bb9cee54bd9952ce1a8aff9fbdf.zip
[249847] Store resources in a hierarchical structurecommitters/estepper/pop-20081018
https://bugs.eclipse.org/bugs/show_bug.cgi?id=249847
Diffstat (limited to 'plugins/org.eclipse.emf.cdo/model/resource.genmodel')
-rw-r--r--plugins/org.eclipse.emf.cdo/model/resource.genmodel9
1 files changed, 8 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo/model/resource.genmodel b/plugins/org.eclipse.emf.cdo/model/resource.genmodel
index f1ae370ca8..bfdfb4a8f3 100644
--- a/plugins/org.eclipse.emf.cdo/model/resource.genmodel
+++ b/plugins/org.eclipse.emf.cdo/model/resource.genmodel
@@ -14,6 +14,14 @@
<genDataTypes ecoreDataType="eresource.ecore#//ResourceSet"/>
<genDataTypes ecoreDataType="eresource.ecore#//URI"/>
<genDataTypes ecoreDataType="eresource.ecore#//Diagnostic"/>
+ <genClasses image="false" ecoreClass="eresource.ecore#//CDOResourceNode">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference eresource.ecore#//CDOResourceNode/folder"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eresource.ecore#//CDOResourceNode/name"/>
+ <genFeatures property="Readonly" createChild="false" ecoreFeature="ecore:EAttribute eresource.ecore#//CDOResourceNode/path"/>
+ </genClasses>
+ <genClasses ecoreClass="eresource.ecore#//CDOResourceFolder">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference eresource.ecore#//CDOResourceFolder/contents"/>
+ </genClasses>
<genClasses ecoreClass="eresource.ecore#//CDOResource">
<genFeatures property="None" createChild="false" ecoreFeature="ecore:EAttribute eresource.ecore#//CDOResource/resourceSet"/>
<genFeatures property="Readonly" createChild="false" ecoreFeature="ecore:EAttribute eresource.ecore#//CDOResource/uRI"/>
@@ -24,7 +32,6 @@
<genFeatures property="None" createChild="false" ecoreFeature="ecore:EAttribute eresource.ecore#//CDOResource/errors"/>
<genFeatures property="None" createChild="false" ecoreFeature="ecore:EAttribute eresource.ecore#//CDOResource/warnings"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute eresource.ecore#//CDOResource/timeStamp"/>
- <genFeatures property="Readonly" createChild="false" ecoreFeature="ecore:EAttribute eresource.ecore#//CDOResource/path"/>
</genClasses>
</genPackages>
</genmodel:GenModel>

Back to the top