Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreperico2009-12-04 05:37:36 -0500
committereperico2009-12-04 05:37:36 -0500
commit764af3d1300b1bf0dda397d1194f01d6f6d96ed5 (patch)
tree6640ff60008cf4430bb0129b8ea979b078034e4b /plugins/profile-tool/org.eclipse.papyrus.resource/model
parent0994e8904673c94ccfaddbd03df1f30316a9d0d3 (diff)
downloadorg.eclipse.papyrus-764af3d1300b1bf0dda397d1194f01d6f6d96ed5.tar.gz
org.eclipse.papyrus-764af3d1300b1bf0dda397d1194f01d6f6d96ed5.tar.xz
org.eclipse.papyrus-764af3d1300b1bf0dda397d1194f01d6f6d96ed5.zip
Task 296901: [Profile] provide a way to generate profile based diagram
Diffstat (limited to 'plugins/profile-tool/org.eclipse.papyrus.resource/model')
-rw-r--r--plugins/profile-tool/org.eclipse.papyrus.resource/model/resource.ecore12
-rw-r--r--plugins/profile-tool/org.eclipse.papyrus.resource/model/resource.ecorediag37
-rw-r--r--plugins/profile-tool/org.eclipse.papyrus.resource/model/resource.genmodel16
3 files changed, 65 insertions, 0 deletions
diff --git a/plugins/profile-tool/org.eclipse.papyrus.resource/model/resource.ecore b/plugins/profile-tool/org.eclipse.papyrus.resource/model/resource.ecore
new file mode 100644
index 00000000000..570f6882597
--- /dev/null
+++ b/plugins/profile-tool/org.eclipse.papyrus.resource/model/resource.ecore
@@ -0,0 +1,12 @@
+<?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="resource"
+ nsURI="http://www.eclipse.org/papyurs/0.7.0/Resource" nsPrefix="resource">
+ <eClassifiers xsi:type="ecore:EClass" name="Resource">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eobjects" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject" volatile="true"
+ transient="true" containment="true"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ResourceEObject" eSuperTypes="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
+</ecore:EPackage>
diff --git a/plugins/profile-tool/org.eclipse.papyrus.resource/model/resource.ecorediag b/plugins/profile-tool/org.eclipse.papyrus.resource/model/resource.ecorediag
new file mode 100644
index 00000000000..568ade511b4
--- /dev/null
+++ b/plugins/profile-tool/org.eclipse.papyrus.resource/model/resource.ecorediag
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmi:id="_l43mkK5mEd6h2ecTXi7wcw" type="EcoreTools" name="resource.ecorediag" measurementUnit="Pixel">
+ <children xmi:type="notation:Node" xmi:id="_l5eDgK5mEd6h2ecTXi7wcw" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_l5eDg65mEd6h2ecTXi7wcw" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_l5eDhK5mEd6h2ecTXi7wcw" type="5001">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_l5eDha5mEd6h2ecTXi7wcw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_l5eDhq5mEd6h2ecTXi7wcw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_l5eDh65mEd6h2ecTXi7wcw"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_l5eDiK5mEd6h2ecTXi7wcw" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_l5eDia5mEd6h2ecTXi7wcw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_l5eDiq5mEd6h2ecTXi7wcw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_l5eDi65mEd6h2ecTXi7wcw"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_l5eDga5mEd6h2ecTXi7wcw" fontColor="4210752" fontName="Microsoft Sans Serif" fontHeight="10" fillColor="13761016" lineColor="8421504"/>
+ <element xmi:type="ecore:EClass" href="resource.ecore#//Resource"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_l5eDgq5mEd6h2ecTXi7wcw" x="130" y="115"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_A3Rw8K5rEd6xDPdY34V9OQ" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_A3bh8K5rEd6xDPdY34V9OQ" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_A3bh8a5rEd6xDPdY34V9OQ" type="5001">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_A3bh8q5rEd6xDPdY34V9OQ"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_A3bh865rEd6xDPdY34V9OQ"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_A3bh9K5rEd6xDPdY34V9OQ"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_A3bh9a5rEd6xDPdY34V9OQ" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_A3bh9q5rEd6xDPdY34V9OQ"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_A3bh965rEd6xDPdY34V9OQ"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_A3bh-K5rEd6xDPdY34V9OQ"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_A3Rw8a5rEd6xDPdY34V9OQ" fontColor="4210752" fontName="Microsoft Sans Serif" fontHeight="10" fillColor="13761016" lineColor="8421504"/>
+ <element xmi:type="ecore:EClass" href="resource.ecore#//ResourceEObject"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_A3Rw8q5rEd6xDPdY34V9OQ" x="25" y="365"/>
+ </children>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_l43mka5mEd6h2ecTXi7wcw"/>
+ <element xmi:type="ecore:EPackage" href="resource.ecore#/"/>
+</notation:Diagram>
diff --git a/plugins/profile-tool/org.eclipse.papyrus.resource/model/resource.genmodel b/plugins/profile-tool/org.eclipse.papyrus.resource/model/resource.genmodel
new file mode 100644
index 00000000000..bd33ffd7dfd
--- /dev/null
+++ b/plugins/profile-tool/org.eclipse.papyrus.resource/model/resource.genmodel
@@ -0,0 +1,16 @@
+<?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.papyrus.resource/src"
+ editorDirectory="" modelPluginID="org.eclipse.papyrus.resource" modelName="Resource"
+ testsDirectory="" importerID="org.eclipse.emf.importer.ecore" complianceLevel="5.0"
+ copyrightFields="false">
+ <foreignModel>resource.ecore</foreignModel>
+ <genPackages prefix="Resource" basePackage="org.eclipse.papyrus" disposableProviderFactory="true"
+ ecorePackage="resource.ecore#/">
+ <genClasses ecoreClass="resource.ecore#//Resource">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference resource.ecore#//Resource/eobjects"/>
+ </genClasses>
+ <genClasses ecoreClass="resource.ecore#//ResourceEObject"/>
+ </genPackages>
+</genmodel:GenModel>

Back to the top