Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Noyrit2016-04-08 12:27:06 +0000
committerFlorian Noyrit2016-04-12 17:18:06 +0000
commit2a65e3ac03de61df7578cfacbb7c10fc2bfe39ad (patch)
tree9308c3eb1c665e5080bf8ae6898083722edcc080 /plugins/infra/emf
parent5f7e110b3bfb1fc1d917bd988a1b67c42e2c6ad1 (diff)
downloadorg.eclipse.papyrus-2a65e3ac03de61df7578cfacbb7c10fc2bfe39ad.tar.gz
org.eclipse.papyrus-2a65e3ac03de61df7578cfacbb7c10fc2bfe39ad.tar.xz
org.eclipse.papyrus-2a65e3ac03de61df7578cfacbb7c10fc2bfe39ad.zip
Move elementtypes definitions that are not model-based to model-based.
Diffstat (limited to 'plugins/infra/emf')
-rw-r--r--plugins/infra/emf/org.eclipse.papyrus.infra.emf/build.properties6
-rw-r--r--plugins/infra/emf/org.eclipse.papyrus.infra.emf/model/infra-emf.elementtypesconfigurations35
-rw-r--r--plugins/infra/emf/org.eclipse.papyrus.infra.emf/plugin.xml41
3 files changed, 44 insertions, 38 deletions
diff --git a/plugins/infra/emf/org.eclipse.papyrus.infra.emf/build.properties b/plugins/infra/emf/org.eclipse.papyrus.infra.emf/build.properties
index 1dc054540dd..d39b76697e8 100644
--- a/plugins/infra/emf/org.eclipse.papyrus.infra.emf/build.properties
+++ b/plugins/infra/emf/org.eclipse.papyrus.infra.emf/build.properties
@@ -4,6 +4,8 @@ bin.includes = META-INF/,\
.,\
about.html,\
build.properties,\
- plugin.xml
+ plugin.xml,\
+ model/
src.includes = about.html,\
- schema/
+ schema/,\
+ model/
diff --git a/plugins/infra/emf/org.eclipse.papyrus.infra.emf/model/infra-emf.elementtypesconfigurations b/plugins/infra/emf/org.eclipse.papyrus.infra.emf/model/infra-emf.elementtypesconfigurations
new file mode 100644
index 00000000000..daef8b50399
--- /dev/null
+++ b/plugins/infra/emf/org.eclipse.papyrus.infra.emf/model/infra-emf.elementtypesconfigurations
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="ASCII"?>
+<elementtypesconfigurations:ElementTypeSetConfiguration
+ xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.1"
+ xmi:id="_rWI4YHPzEeSnGJwaJWHCSg"
+ description=""
+ identifier="org.eclipse.papyrus.infra.emf.elementTypeSet"
+ name="Infra-EMF"
+ metamodelNsURI="http://www.eclipse.org/emf/2002/Ecore">
+ <elementTypeConfigurations
+ xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"
+ xmi:id="_H1ejUPvzEeWw0r4E4rSXyw"
+ identifier="org.eclipse.papyrus.infra.emf.page"
+ name="EObject"
+ hint="EObject"
+ editHelperClassName="org.eclipse.papyrus.infra.emf.advice.DeletePageEditHelper">
+ <eClass
+ href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject"/>
+ </elementTypeConfigurations>
+ <adviceBindingsConfigurations
+ xsi:type="elementtypesconfigurations:AdviceBindingConfiguration"
+ xmi:id="_fdf5EGBZEeWbqYFeFvN0SQ"
+ description=""
+ identifier="org.eclipse.papyrus.infra.emf.deletePageAdvice"
+ inheritance="all"
+ editHelperAdviceClassName="org.eclipse.papyrus.infra.emf.advice.DeletePageAdvice"/>
+ <adviceBindingsConfigurations
+ xsi:type="elementtypesconfigurations:AdviceBindingConfiguration"
+ xmi:id="_jxuLwPvzEeWw0r4E4rSXyw"
+ description=""
+ identifier="org.eclipse.papyrus.infra.emf.readOnlyAdvice"
+ editHelperAdviceClassName="org.eclipse.papyrus.infra.emf.advice.ReadOnlyObjectEditAdvice"/>
+</elementtypesconfigurations:ElementTypeSetConfiguration>
diff --git a/plugins/infra/emf/org.eclipse.papyrus.infra.emf/plugin.xml b/plugins/infra/emf/org.eclipse.papyrus.infra.emf/plugin.xml
index da851f5c7b3..de27f193cdc 100644
--- a/plugins/infra/emf/org.eclipse.papyrus.infra.emf/plugin.xml
+++ b/plugins/infra/emf/org.eclipse.papyrus.infra.emf/plugin.xml
@@ -19,42 +19,11 @@
<plugin>
<extension-point id="dependencyUpdateParticipant" name="Dependency Update Participants" schema="schema/dependencyUpdateParticipant.exsd"/>
<extension
- point="org.eclipse.gmf.runtime.emf.type.core.elementTypes">
- <metamodel
- nsURI="http://www.eclipse.org/emf/2002/Ecore">
- <adviceBinding
- class="org.eclipse.papyrus.infra.emf.advice.DeletePageAdvice"
- id="org.eclipse.papyrus.infra.emf.deletePageAdvice"
- inheritance="all"
- typeId="*">
- </adviceBinding>
- <metamodelType
- eclass="EObject"
- edithelper="org.eclipse.papyrus.infra.emf.advice.DeletePageEditHelper"
- id="org.eclipse.papyrus.infra.emf.page">
- </metamodelType>
- </metamodel>
- <metamodel
- nsURI="http://www.eclipse.org/emf/2002/Ecore">
- <adviceBinding
- id="org.eclipse.papyrus.infra.emf.readOnlyAdvice"
- class="org.eclipse.papyrus.infra.emf.advice.ReadOnlyObjectEditAdvice"
- typeId="*"
- inheritance="none">
- </adviceBinding>
- </metamodel>
- </extension>
- <extension
- point="org.eclipse.gmf.runtime.emf.type.core.elementTypeBindings">
- <binding
- context="org.eclipse.papyrus.infra.services.edit.TypeContext">
- <elementType
- ref="org.eclipse.papyrus.infra.emf.page">
- </elementType>
- <advice
- ref="org.eclipse.papyrus.infra.emf.deletePageAdvice">
- </advice>
- </binding>
+ point="org.eclipse.papyrus.infra.types.core.elementTypeSetConfiguration">
+ <elementTypeSet
+ clientContextID="org.eclipse.papyrus.infra.services.edit.TypeContext"
+ path="model/infra-emf.elementtypesconfigurations">
+ </elementTypeSet>
</extension>
</plugin>

Back to the top