Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorFlorian Noyrit2016-02-01 08:52:33 -0500
committerFlorian Noyrit2016-02-05 05:07:34 -0500
commitfc691bb69c710107b43fbfb12abcc0914b857837 (patch)
treeb1c4801bf2519a09df56e2ed9f0e1a3bc786ec12 /tests
parent70b72ba9943c839aec0a04caae4312cea8e240f0 (diff)
downloadorg.eclipse.papyrus-fc691bb69c710107b43fbfb12abcc0914b857837.tar.gz
org.eclipse.papyrus-fc691bb69c710107b43fbfb12abcc0914b857837.tar.xz
org.eclipse.papyrus-fc691bb69c710107b43fbfb12abcc0914b857837.zip
Improve/Fix the support of extensions of the
ElementTypesConfiguration framework - Bug 477206 Change-Id: I50ed9bb1bf6a807881a143875f87c5a6f56a6afc
Diffstat (limited to 'tests')
-rw-r--r--tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.tests/model/cyclicAdvices.elementtypesconfigurations43
-rw-r--r--tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.tests/model/elementtypetest.elementtypesconfigurations323
-rw-r--r--tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.tests/model/validAdvicesOrder.elementtypesconfigurations43
-rw-r--r--tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.ui.tests/model/ElementTypesTestsProfile.ctx34
-rw-r--r--tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.ui.tests/model/WorkspaceTest.elementtypesconfigurations54
-rw-r--r--tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.ui.tests/model/elementtypetestui.elementtypesconfigurations11
-rw-r--r--tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.ui.tests/plugin.xml8
-rw-r--r--tests/junit/plugins/infra/gmfdiag/assistant/org.eclipse.papyrus.infra.gmfdiag.assistant.tests/resources/j2ee-all.elementtypesconfigurations197
-rw-r--r--tests/junit/plugins/infra/gmfdiag/assistant/org.eclipse.papyrus.infra.gmfdiag.assistant.tests/resources/j2ee-usecase.elementtypesconfigurations365
-rw-r--r--tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/models/TestExpansionDiagram.elementtypesconfigurations61
-rw-r--r--tests/junit/plugins/uml/assistants/org.eclipse.papyrus.uml.profile.elementtypesconfigurations.generator.tests/src/org/eclipse/papyrus/uml/profile/elementtypesconfigurations/generator/tests/ModelGenFixture.java34
-rw-r--r--tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.paletteconfiguration.tests/resources/FakeProfile.elementtypesconfigurations56
-rw-r--r--tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.paletteconfiguration.tests/resources/TestPalette.elementtypesconfigurations56
13 files changed, 462 insertions, 823 deletions
diff --git a/tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.tests/model/cyclicAdvices.elementtypesconfigurations b/tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.tests/model/cyclicAdvices.elementtypesconfigurations
index a4122a8b0c7..13bd33a53ae 100644
--- a/tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.tests/model/cyclicAdvices.elementtypesconfigurations
+++ b/tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.tests/model/cyclicAdvices.elementtypesconfigurations
@@ -1,45 +1,18 @@
-<?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.0"
- xmi:id="_ScP1oFYCEeS0WsAAtVmToA"
- name="Test cyclic edvices dependencies"
- identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.cyclicAdvices.elementtypesconfigurations"
- metamodelNsURI="http://www.eclipse.org/uml2/5.0.0/UML">
- <adviceBindingsConfigurations
- xmi:id="_SGAo4LK-EeWUIbTgfwAP3g"
- name="TestEditHelperAdvice1"
- identifier="TestEditHelperAdvice1"
- editHelperAdviceClassName="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.TestEditHelperAdvice1">
+<?xml version="1.0" encoding="ASCII" standalone="no"?><elementtypesconfigurations:ElementTypeSetConfiguration xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.1" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.cyclicAdvices.elementtypesconfigurations" metamodelNsURI="http://www.eclipse.org/uml2/5.0.0/UML" name="Test cyclic edvices dependencies" xmi:id="_ScP1oFYCEeS0WsAAtVmToA" xmi:version="2.0">
+ <adviceBindingsConfigurations editHelperAdviceClassName="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.TestEditHelperAdvice1" identifier="TestEditHelperAdvice1" xmi:id="_SGAo4LK-EeWUIbTgfwAP3g" xsi:type="elementtypesconfigurations:AdviceBindingConfiguration">
<after>org.eclipse.papyrus.infra.elementtypesconfigurations.tests.TestEditHelperAdvice2</after>
<after>org.eclipse.papyrus.infra.elementtypesconfigurations.tests.TestEditHelperAdvice3</after>
- <target
- xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"
- href="../../../plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#_Sca0wVYCEeS0WsAAtVmToA"/>
+ <target href="../../../plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#_Sca0wVYCEeS0WsAAtVmToA" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/>
</adviceBindingsConfigurations>
- <adviceBindingsConfigurations
- xmi:id="_nSyIoLK-EeWUIbTgfwAP3g"
- name="TestEditHelperAdvice2"
- identifier="TestEditHelperAdvice2"
- editHelperAdviceClassName="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.TestEditHelperAdvice2">
+ <adviceBindingsConfigurations editHelperAdviceClassName="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.TestEditHelperAdvice2" identifier="TestEditHelperAdvice2" xmi:id="_nSyIoLK-EeWUIbTgfwAP3g" xsi:type="elementtypesconfigurations:AdviceBindingConfiguration">
<before>org.eclipse.papyrus.infra.elementtypesconfigurations.tests.TestEditHelperAdvice1</before>
<after>org.eclipse.papyrus.infra.elementtypesconfigurations.tests.TestEditHelperAdvice3</after>
- <target
- xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"
- href="../../../plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#_Sca0wVYCEeS0WsAAtVmToA"/>
+ <target href="../../../plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#_Sca0wVYCEeS0WsAAtVmToA" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/>
</adviceBindingsConfigurations>
- <adviceBindingsConfigurations
- xmi:id="_ojuzILK-EeWUIbTgfwAP3g"
- name="TestEditHelperAdvice3"
- identifier="TestEditHelperAdvice3"
- editHelperAdviceClassName="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.TestEditHelperAdvice3">
+ <adviceBindingsConfigurations editHelperAdviceClassName="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.TestEditHelperAdvice3" identifier="TestEditHelperAdvice3" xmi:id="_ojuzILK-EeWUIbTgfwAP3g" xsi:type="elementtypesconfigurations:AdviceBindingConfiguration">
<before>org.eclipse.papyrus.infra.elementtypesconfigurations.tests.TestEditHelperAdvice1</before>
<before>org.eclipse.papyrus.infra.elementtypesconfigurations.tests.TestEditHelperAdvice2</before>
<after>org.eclipse.papyrus.infra.elementtypesconfigurations.tests.TestEditHelperAdvice1</after>
- <target
- xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"
- href="../../../plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#_Sca0wVYCEeS0WsAAtVmToA"/>
+ <target href="../../../plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#_Sca0wVYCEeS0WsAAtVmToA" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/>
</adviceBindingsConfigurations>
-</elementtypesconfigurations:ElementTypeSetConfiguration>
+</elementtypesconfigurations:ElementTypeSetConfiguration> \ No newline at end of file
diff --git a/tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.tests/model/elementtypetest.elementtypesconfigurations b/tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.tests/model/elementtypetest.elementtypesconfigurations
index 53a85abfb53..9efd504605b 100644
--- a/tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.tests/model/elementtypetest.elementtypesconfigurations
+++ b/tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.tests/model/elementtypetest.elementtypesconfigurations
@@ -1,311 +1,108 @@
-<?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:applystereotypeadviceconfiguration="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/uml/applystereotypeadvice/1.0"
- xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.0"
- xmlns:invariantcontainerruleconfiguration="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/invarianttypeconfiguration/containerruleconfiguration/1.0"
- xmlns:invariantstereotyperuleconfiguration="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/invariantstereotyperule/1.0"
- xmlns:invarianttypeconfiguration="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/invarianttype/1.0"
- xmlns:runtimevalueseditionadviceconfiguration="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/emf/runtimevalueseditionadviceconfiguration/1.0"
- xmlns:setvaluesadviceconfiguration="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/emf/setvaluesadviceconfiguration/1.0"
- xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML"
- xmi:id="_ScP1oFYCEeS0WsAAtVmToA"
- name="Test element types"
- identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.tests"
- metamodelNsURI="http://www.eclipse.org/uml2/5.0.0/UML">
- <elementTypeConfigurations
- xsi:type="invarianttypeconfiguration:InvariantTypeConfiguration"
- xmi:id="_JIwuQLg9EeS0cu6lbJ9jDQ"
- name="Component in specific package only"
- description=""
- identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.specificcomponent"
- hint="ElementTypes">
- <iconEntry
- xmi:id="_FW5wwLg-EeS0cu6lbJ9jDQ"
- iconPath="icons/full/obj16/add_obj.gif"
- bundleId="org.eclipse.ui"/>
+<?xml version="1.0" encoding="ASCII" standalone="no"?><elementtypesconfigurations:ElementTypeSetConfiguration xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.1" xmlns:applystereotypeadviceconfiguration="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/uml/applystereotypeadvice/1.1" xmlns:invariantcontainerruleconfiguration="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/invarianttypeconfiguration/containerruleconfiguration/1.1" xmlns:invariantstereotyperuleconfiguration="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/invariantstereotyperule/1.1" xmlns:invarianttypeconfiguration="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/invarianttype/1.1" xmlns:setvaluesadviceconfiguration="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/emf/setvaluesadviceconfiguration/1.1" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.tests" metamodelNsURI="http://www.eclipse.org/uml2/5.0.0/UML" name="Test element types" xmi:id="_ScP1oFYCEeS0WsAAtVmToA" xmi:version="2.0">
+ <elementTypeConfigurations description="" hint="ElementTypes" identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.specificcomponent" name="Component in specific package only" xmi:id="_JIwuQLg9EeS0cu6lbJ9jDQ" xsi:type="invarianttypeconfiguration:InvariantTypeConfiguration">
+ <iconEntry bundleId="org.eclipse.ui" iconPath="icons/full/obj16/add_obj.gif" xmi:id="_FW5wwLg-EeS0cu6lbJ9jDQ"/>
<specializedTypesID>org.eclipse.papyrus.uml.Component</specializedTypesID>
- <invariantRuleConfiguration
- xsi:type="invariantcontainerruleconfiguration:InvariantContainerRuleConfiguration"
- xmi:id="_N9YeYLg-EeS0cu6lbJ9jDQ">
- <permissions
- xmi:id="_Ow-egLg-EeS0cu6lbJ9jDQ"
- containerType="org.eclipse.papyrus.uml.Package"/>
- <permissions
- xmi:id="_QsZCULg-EeS0cu6lbJ9jDQ"
- containerType="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.packagewithcomponentsonly"
- permitted="true"
- strict="true"/>
+ <invariantRuleConfiguration xmi:id="_N9YeYLg-EeS0cu6lbJ9jDQ" xsi:type="invariantcontainerruleconfiguration:InvariantContainerRuleConfiguration">
+ <permissions containerType="org.eclipse.papyrus.uml.Package" xmi:id="_Ow-egLg-EeS0cu6lbJ9jDQ"/>
+ <permissions containerType="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.packagewithcomponentsonly" permitted="true" strict="true" xmi:id="_QsZCULg-EeS0cu6lbJ9jDQ"/>
</invariantRuleConfiguration>
</elementTypeConfigurations>
- <elementTypeConfigurations
- xsi:type="invarianttypeconfiguration:InvariantTypeConfiguration"
- xmi:id="_Zn1TULg-EeS0cu6lbJ9jDQ"
- name="PackageWithComponentsOnly"
- description="Package that can contain only components"
- identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.packagewithcomponentsonly"
- hint="ElementTypes">
+ <elementTypeConfigurations description="Package that can contain only components" hint="ElementTypes" identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.packagewithcomponentsonly" name="PackageWithComponentsOnly" xmi:id="_Zn1TULg-EeS0cu6lbJ9jDQ" xsi:type="invarianttypeconfiguration:InvariantTypeConfiguration">
<specializedTypesID>org.eclipse.papyrus.uml.Package</specializedTypesID>
- <invariantRuleConfiguration
- xsi:type="invariantstereotyperuleconfiguration:InvariantStereotypeRuleConfiguration"
- xmi:id="_mzVEQLg-EeS0cu6lbJ9jDQ"
- stereotypeQualifiedName="ElementTypesTestsProfile::PackageWithComponents"
- requiredProfile=""/>
+ <invariantRuleConfiguration requiredProfile="" stereotypeQualifiedName="ElementTypesTestsProfile::PackageWithComponents" xmi:id="_mzVEQLg-EeS0cu6lbJ9jDQ" xsi:type="invariantstereotyperuleconfiguration:InvariantStereotypeRuleConfiguration"/>
</elementTypeConfigurations>
- <elementTypeConfigurations
- xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"
- xmi:id="_mhW74My1EeS2aYvfnAB4ZA"
- name="Abstract Class Creation Action"
- description="Semantic element type to create abstract classes"
- identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.aspectabstractclass"
- hint="Abstract Class Creation Action">
+ <elementTypeConfigurations description="Semantic element type to create abstract classes" hint="Abstract Class Creation Action" identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.aspectabstractclass" name="Abstract Class Creation Action" xmi:id="_mhW74My1EeS2aYvfnAB4ZA" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
<specializedTypesID>org.eclipse.papyrus.uml.Class</specializedTypesID>
- <matcherConfiguration
- xmi:id="_qI4JwNLXEeSAkKOodzTEYg"
- matcherClassName="org.eclipse.gmf.runtime.emf.type.core.NullElementMatcher"/>
+ <matcherConfiguration matcherClassName="org.eclipse.gmf.runtime.emf.type.core.NullElementMatcher" xmi:id="_qI4JwNLXEeSAkKOodzTEYg" xsi:type="elementtypesconfigurations:MatcherConfiguration"/>
</elementTypeConfigurations>
- <elementTypeConfigurations
- xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"
- xmi:id="_CSBmcMy2EeS2aYvfnAB4ZA"
- name="Class With Stereotype"
- description="Test elementTypeConfigurations"
- identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.classSimpleStereotype"
- hint="ElementElementTypeConfigurations">
+ <elementTypeConfigurations description="Test elementTypeConfigurations" hint="ElementElementTypeConfigurations" identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.classSimpleStereotype" name="Class With Stereotype" xmi:id="_CSBmcMy2EeS2aYvfnAB4ZA" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
<specializedTypesID>org.eclipse.papyrus.uml.Class</specializedTypesID>
- <matcherConfiguration
- xmi:id="_8kqIkNLXEeSAkKOodzTEYg"
- matcherClassName="org.eclipse.gmf.runtime.emf.type.core.NullElementMatcher"/>
+ <matcherConfiguration matcherClassName="org.eclipse.gmf.runtime.emf.type.core.NullElementMatcher" xmi:id="_8kqIkNLXEeSAkKOodzTEYg" xsi:type="elementtypesconfigurations:MatcherConfiguration"/>
</elementTypeConfigurations>
- <elementTypeConfigurations
- xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"
- xmi:id="_5vXW8My3EeS2aYvfnAB4ZA"
- name="Package With Stereotype And Renamed"
- description="Test elementTypeConfigurations"
- identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.classSimpleStereotypeRename"
- hint="ElementElementTypeConfigurations">
+ <elementTypeConfigurations description="Test elementTypeConfigurations" hint="ElementElementTypeConfigurations" identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.classSimpleStereotypeRename" name="Package With Stereotype And Renamed" xmi:id="_5vXW8My3EeS2aYvfnAB4ZA" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
<specializedTypesID>org.eclipse.papyrus.uml.Class</specializedTypesID>
- <matcherConfiguration
- xmi:id="_8yABANLXEeSAkKOodzTEYg"
- matcherClassName="org.eclipse.gmf.runtime.emf.type.core.NullElementMatcher"/>
+ <matcherConfiguration matcherClassName="org.eclipse.gmf.runtime.emf.type.core.NullElementMatcher" xmi:id="_8yABANLXEeSAkKOodzTEYg" xsi:type="elementtypesconfigurations:MatcherConfiguration"/>
</elementTypeConfigurations>
- <elementTypeConfigurations
- xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"
- xmi:id="_HT1okMy4EeS2aYvfnAB4ZA"
- name="Package With Stereotype And Renamed"
- description="Test elementTypeConfigurations"
- identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.classSimpleStereotypeSetValues"
- hint="ElementElementTypeConfigurations">
+ <elementTypeConfigurations description="Test elementTypeConfigurations" hint="ElementElementTypeConfigurations" identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.classSimpleStereotypeSetValues" name="Package With Stereotype And Renamed" xmi:id="_HT1okMy4EeS2aYvfnAB4ZA" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
<specializedTypesID>org.eclipse.papyrus.uml.Class</specializedTypesID>
- <matcherConfiguration
- xmi:id="_8-EHENLXEeSAkKOodzTEYg"
- matcherClassName="org.eclipse.gmf.runtime.emf.type.core.NullElementMatcher"/>
+ <matcherConfiguration matcherClassName="org.eclipse.gmf.runtime.emf.type.core.NullElementMatcher" xmi:id="_8-EHENLXEeSAkKOodzTEYg" xsi:type="elementtypesconfigurations:MatcherConfiguration"/>
</elementTypeConfigurations>
- <elementTypeConfigurations
- xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"
- xmi:id="_mrg2EMy4EeS2aYvfnAB4ZA"
- name="Package With Stereotype And Renamed"
- description="Test elementTypeConfigurations"
- identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.abstractclassSimpleStereotype"
- hint="ElementElementTypeConfigurations">
+ <elementTypeConfigurations description="Test elementTypeConfigurations" hint="ElementElementTypeConfigurations" identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.abstractclassSimpleStereotype" name="Package With Stereotype And Renamed" xmi:id="_mrg2EMy4EeS2aYvfnAB4ZA" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
<specializedTypesID>org.eclipse.papyrus.infra.elementtypesconfigurations.tests.aspectabstractclass</specializedTypesID>
- <matcherConfiguration
- xmi:id="_9KgAkNLXEeSAkKOodzTEYg"
- matcherClassName="org.eclipse.gmf.runtime.emf.type.core.NullElementMatcher"/>
+ <matcherConfiguration matcherClassName="org.eclipse.gmf.runtime.emf.type.core.NullElementMatcher" xmi:id="_9KgAkNLXEeSAkKOodzTEYg" xsi:type="elementtypesconfigurations:MatcherConfiguration"/>
</elementTypeConfigurations>
- <elementTypeConfigurations
- xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"
- xmi:id="_SKcvUMzEEeSJ0sn3znt87w"
- name="Package With Stereotype And Renamed - View"
- description="Test elementTypeConfigurations"
- identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.classSimpleStereotypeRenameWithView"
- hint="ElementElementTypeConfigurations">
- <specializedTypesID>org.eclipse.papyrus.infra.elementtypesconfigurations.tests.classSimpleStereotypeRename</specializedTypesID>
- <matcherConfiguration
- xmi:id="_9WxiANLXEeSAkKOodzTEYg"
- matcherClassName="org.eclipse.gmf.runtime.emf.type.core.NullElementMatcher"/>
- </elementTypeConfigurations>
- <adviceBindingsConfigurations
- xsi:type="setvaluesadviceconfiguration:SetValuesAdviceConfiguration"
- xmi:id="_6Zq8QLg_EeS0cu6lbJ9jDQ"
- description="Aspect Semantic element type to create abstract classes"
- identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.aspectabstractclass.advice"
- target="_mhW74My1EeS2aYvfnAB4ZA">
- <featuresToSet
- xmi:id="_7FIUELg_EeS0cu6lbJ9jDQ"
- featureName="isAbstract">
- <value
- xsi:type="setvaluesadviceconfiguration:ConstantValue"
- xmi:id="_-d4_oLg_EeS0cu6lbJ9jDQ">
- <valueInstance
- xsi:type="uml:LiteralBoolean"
- xmi:id="__mUnULg_EeS0cu6lbJ9jDQ"
- value="true"/>
+ <adviceBindingsConfigurations description="Aspect Semantic element type to create abstract classes" identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.aspectabstractclass.advice" target="_mhW74My1EeS2aYvfnAB4ZA" xmi:id="_6Zq8QLg_EeS0cu6lbJ9jDQ" xsi:type="setvaluesadviceconfiguration:SetValuesAdviceConfiguration">
+ <featuresToSet featureName="isAbstract" xmi:id="_7FIUELg_EeS0cu6lbJ9jDQ">
+ <value xmi:id="_-d4_oLg_EeS0cu6lbJ9jDQ" xsi:type="setvaluesadviceconfiguration:ConstantValue">
+ <valueInstance value="true" xmi:id="__mUnULg_EeS0cu6lbJ9jDQ" xsi:type="uml:LiteralBoolean"/>
</value>
</featuresToSet>
</adviceBindingsConfigurations>
- <adviceBindingsConfigurations
- xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration"
- xmi:id="_NEmxYLhAEeS0cu6lbJ9jDQ"
- identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.classSimpleStereotype.advice"
- target="_CSBmcMy2EeS2aYvfnAB4ZA">
- <stereotypesToApply
- xmi:id="_PuEG8LhAEeS0cu6lbJ9jDQ"
- stereotypeQualifiedName="ElementTypesTestsProfile::StereotypeWithFeaturesToSet">
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.classSimpleStereotype.advice" target="_CSBmcMy2EeS2aYvfnAB4ZA" xmi:id="_NEmxYLhAEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="ElementTypesTestsProfile::StereotypeWithFeaturesToSet" xmi:id="_PuEG8LhAEeS0cu6lbJ9jDQ">
<requiredProfiles>ElementTypesTestProfile</requiredProfiles>
</stereotypesToApply>
</adviceBindingsConfigurations>
- <adviceBindingsConfigurations
- xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration"
- xmi:id="_Z3bfkMy4EeS2aYvfnAB4ZA"
- identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.classSimpleStereotypeRename.advice"
- target="_5vXW8My3EeS2aYvfnAB4ZA">
- <stereotypesToApply
- xmi:id="_Z3bfkcy4EeS2aYvfnAB4ZA"
- stereotypeQualifiedName="ElementTypesTestsProfile::StereotypeWithFeaturesToSet"
- updateName="true">
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.classSimpleStereotypeRename.advice" target="_5vXW8My3EeS2aYvfnAB4ZA" xmi:id="_Z3bfkMy4EeS2aYvfnAB4ZA" xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="ElementTypesTestsProfile::StereotypeWithFeaturesToSet" updateName="true" xmi:id="_Z3bfkcy4EeS2aYvfnAB4ZA">
<requiredProfiles>ElementTypesTestProfile</requiredProfiles>
</stereotypesToApply>
</adviceBindingsConfigurations>
- <adviceBindingsConfigurations
- xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration"
- xmi:id="_havkELhAEeS0cu6lbJ9jDQ"
- identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.classSimpleStereotypeSetValues.advice"
- target="_HT1okMy4EeS2aYvfnAB4ZA">
- <stereotypesToApply
- xmi:id="_vA53wLhAEeS0cu6lbJ9jDQ"
- stereotypeQualifiedName="ElementTypesTestsProfile::StereotypeWithFeaturesToSet"
- updateName="true">
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.classSimpleStereotypeSetValues.advice" target="_HT1okMy4EeS2aYvfnAB4ZA" xmi:id="_havkELhAEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="ElementTypesTestsProfile::StereotypeWithFeaturesToSet" updateName="true" xmi:id="_vA53wLhAEeS0cu6lbJ9jDQ">
<requiredProfiles>ElementTypesTestsProfile</requiredProfiles>
- <featuresToSet
- xmi:id="__E3qoLhAEeS0cu6lbJ9jDQ"
- featureName="stringFeature">
- <value
- xsi:type="applystereotypeadviceconfiguration:ConstantValue"
- xmi:id="_DFSzILhBEeS0cu6lbJ9jDQ">
- <valueInstance
- xsi:type="uml:LiteralString"
- xmi:id="_MDKGALhBEeS0cu6lbJ9jDQ"
- value="MyStringValue"/>
+ <featuresToSet featureName="stringFeature" xmi:id="__E3qoLhAEeS0cu6lbJ9jDQ">
+ <value xmi:id="_DFSzILhBEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadviceconfiguration:ConstantValue">
+ <valueInstance value="MyStringValue" xmi:id="_MDKGALhBEeS0cu6lbJ9jDQ" xsi:type="uml:LiteralString"/>
</value>
</featuresToSet>
- <featuresToSet
- xmi:id="_A8odgLhBEeS0cu6lbJ9jDQ"
- featureName="value">
- <value
- xsi:type="applystereotypeadviceconfiguration:ConstantValue"
- xmi:id="_Eb_gULhBEeS0cu6lbJ9jDQ">
- <valueInstance
- xsi:type="uml:LiteralInteger"
- xmi:id="_Gt4qcLhBEeS0cu6lbJ9jDQ"
- value="3"/>
+ <featuresToSet featureName="value" xmi:id="_A8odgLhBEeS0cu6lbJ9jDQ">
+ <value xmi:id="_Eb_gULhBEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadviceconfiguration:ConstantValue">
+ <valueInstance value="3" xmi:id="_Gt4qcLhBEeS0cu6lbJ9jDQ" xsi:type="uml:LiteralInteger"/>
</value>
</featuresToSet>
- <featuresToSet
- xmi:id="_BSTykLhBEeS0cu6lbJ9jDQ"
- featureName="boolean">
- <value
- xsi:type="applystereotypeadviceconfiguration:ConstantValue"
- xmi:id="_ExAHALhBEeS0cu6lbJ9jDQ">
- <valueInstance
- xsi:type="uml:LiteralBoolean"
- xmi:id="_QFRQkLhBEeS0cu6lbJ9jDQ"
- value="true"/>
+ <featuresToSet featureName="boolean" xmi:id="_BSTykLhBEeS0cu6lbJ9jDQ">
+ <value xmi:id="_ExAHALhBEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadviceconfiguration:ConstantValue">
+ <valueInstance value="true" xmi:id="_QFRQkLhBEeS0cu6lbJ9jDQ" xsi:type="uml:LiteralBoolean"/>
</value>
</featuresToSet>
- <featuresToSet
- xmi:id="_Bm_pILhBEeS0cu6lbJ9jDQ"
- featureName="enumeration">
- <value
- xsi:type="applystereotypeadviceconfiguration:ConstantValue"
- xmi:id="_FFqIYLhBEeS0cu6lbJ9jDQ">
- <valueInstance
- xsi:type="uml:InstanceValue"
- xmi:id="_VToy4LhBEeS0cu6lbJ9jDQ"/>
+ <featuresToSet featureName="enumeration" xmi:id="_Bm_pILhBEeS0cu6lbJ9jDQ">
+ <value xmi:id="_FFqIYLhBEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadviceconfiguration:ConstantValue">
+ <valueInstance xmi:id="_VToy4LhBEeS0cu6lbJ9jDQ" xsi:type="uml:InstanceValue">
+ <instance href="ElementTypesTestsProfile.profile.uml#_T4hRALhHEeS0cu6lbJ9jDQ"/>
+ </valueInstance>
</value>
</featuresToSet>
- <featuresToSet
- xmi:id="_B7jj4LhBEeS0cu6lbJ9jDQ"
- featureName="multiStrings">
- <value
- xsi:type="applystereotypeadviceconfiguration:ListValue"
- xmi:id="_rQRXYLhDEeS0cu6lbJ9jDQ"/>
+ <featuresToSet featureName="multiStrings" xmi:id="_B7jj4LhBEeS0cu6lbJ9jDQ">
+ <value xmi:id="_rQRXYLhDEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadviceconfiguration:ListValue"/>
</featuresToSet>
</stereotypesToApply>
</adviceBindingsConfigurations>
- <adviceBindingsConfigurations
- xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration"
- xmi:id="_ls9AILhAEeS0cu6lbJ9jDQ"
- identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.abstractclassSimpleStereotype.advice"
- target="_mrg2EMy4EeS2aYvfnAB4ZA">
- <stereotypesToApply
- xmi:id="_u0-NMLhDEeS0cu6lbJ9jDQ"
- stereotypeQualifiedName="ElementTypesTestsProfile::StereotypeWithFeatureToSet">
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.abstractclassSimpleStereotype.advice" target="_mrg2EMy4EeS2aYvfnAB4ZA" xmi:id="_ls9AILhAEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="ElementTypesTestsProfile::StereotypeWithFeatureToSet" xmi:id="_u0-NMLhDEeS0cu6lbJ9jDQ">
<requiredProfiles>ElementTypesTestsProfile</requiredProfiles>
- <featuresToSet
- xmi:id="_6XspgLhDEeS0cu6lbJ9jDQ"
- featureName="stringFeature">
- <value
- xsi:type="applystereotypeadviceconfiguration:ConstantValue"
- xmi:id="_7YVAELhDEeS0cu6lbJ9jDQ">
- <valueInstance
- xsi:type="uml:LiteralString"
- xmi:id="_-BmvcLhDEeS0cu6lbJ9jDQ"
- name=""
- value="MyOtherValue"/>
+ <featuresToSet featureName="stringFeature" xmi:id="_6XspgLhDEeS0cu6lbJ9jDQ">
+ <value xmi:id="_7YVAELhDEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadviceconfiguration:ConstantValue">
+ <valueInstance name="" value="MyOtherValue" xmi:id="_-BmvcLhDEeS0cu6lbJ9jDQ" xsi:type="uml:LiteralString"/>
</value>
</featuresToSet>
- <featuresToSet
- xmi:id="_Bj7msLhEEeS0cu6lbJ9jDQ"
- featureName="value">
- <value
- xsi:type="applystereotypeadviceconfiguration:ConstantValue"
- xmi:id="_Dd4x8LhEEeS0cu6lbJ9jDQ">
- <valueInstance
- xsi:type="uml:LiteralInteger"
- xmi:id="_HdrBQLhEEeS0cu6lbJ9jDQ"
- value="18"/>
+ <featuresToSet featureName="value" xmi:id="_Bj7msLhEEeS0cu6lbJ9jDQ">
+ <value xmi:id="_Dd4x8LhEEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadviceconfiguration:ConstantValue">
+ <valueInstance value="18" xmi:id="_HdrBQLhEEeS0cu6lbJ9jDQ" xsi:type="uml:LiteralInteger"/>
</value>
</featuresToSet>
- <featuresToSet
- xmi:id="_CKkv8LhEEeS0cu6lbJ9jDQ"
- featureName="boolean">
- <value
- xsi:type="applystereotypeadviceconfiguration:ConstantValue"
- xmi:id="_It5TALhEEeS0cu6lbJ9jDQ">
- <valueInstance
- xsi:type="uml:LiteralBoolean"
- xmi:id="_JxtgcLhEEeS0cu6lbJ9jDQ"
- value="true"/>
+ <featuresToSet featureName="boolean" xmi:id="_CKkv8LhEEeS0cu6lbJ9jDQ">
+ <value xmi:id="_It5TALhEEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadviceconfiguration:ConstantValue">
+ <valueInstance value="true" xmi:id="_JxtgcLhEEeS0cu6lbJ9jDQ" xsi:type="uml:LiteralBoolean"/>
</value>
</featuresToSet>
- <featuresToSet
- xmi:id="_CqCTILhEEeS0cu6lbJ9jDQ"
- featureName="enumeration">
- <value
- xsi:type="applystereotypeadviceconfiguration:ConstantValue"
- xmi:id="_LYi7YLhEEeS0cu6lbJ9jDQ">
- <valueInstance
- xsi:type="uml:InstanceValue"
- xmi:id="_NPf18LhEEeS0cu6lbJ9jDQ"
- name="">
- <instance
- href="ElementTypesTestsProfile.profile.uml#_T4hRALhHEeS0cu6lbJ9jDQ"/>
+ <featuresToSet featureName="enumeration" xmi:id="_CqCTILhEEeS0cu6lbJ9jDQ">
+ <value xmi:id="_LYi7YLhEEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadviceconfiguration:ConstantValue">
+ <valueInstance name="" xmi:id="_NPf18LhEEeS0cu6lbJ9jDQ" xsi:type="uml:InstanceValue">
+ <instance href="ElementTypesTestsProfile.profile.uml#_T4hRALhHEeS0cu6lbJ9jDQ"/>
</valueInstance>
</value>
</featuresToSet>
</stereotypesToApply>
</adviceBindingsConfigurations>
- <adviceBindingsConfigurations
- xsi:type="runtimevalueseditionadviceconfiguration:RuntimeValuesEditionAdviceConfiguration"
- xmi:id="_bmwRsMzEEeSJ0sn3znt87w"
- identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.classSimpleStereotypeRenameWithView.advice"
- target="_SKcvUMzEEeSJ0sn3znt87w">
- <viewsToDisplay
- xmi:id="_d7FEwMzEEeSJ0sn3znt87w">
- <view
- href="ElementTypesTestsProfile.ctx#//@views.0"/>
- </viewsToDisplay>
- </adviceBindingsConfigurations>
-</elementtypesconfigurations:ElementTypeSetConfiguration>
+</elementtypesconfigurations:ElementTypeSetConfiguration> \ No newline at end of file
diff --git a/tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.tests/model/validAdvicesOrder.elementtypesconfigurations b/tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.tests/model/validAdvicesOrder.elementtypesconfigurations
index c621816c8c3..e7fbf3b5a94 100644
--- a/tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.tests/model/validAdvicesOrder.elementtypesconfigurations
+++ b/tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.tests/model/validAdvicesOrder.elementtypesconfigurations
@@ -1,42 +1,15 @@
-<?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.0"
- xmi:id="_ScP1oFYCEeS0WsAAtVmToA"
- name="Test cyclic edvices dependencies"
- identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.cyclicAdvices.elementtypesconfigurations"
- metamodelNsURI="http://www.eclipse.org/uml2/5.0.0/UML">
- <adviceBindingsConfigurations
- xmi:id="_SGAo4LK-EeWUIbTgfwAP3g"
- name="TestEditHelperAdvice1"
- identifier="TestEditHelperAdvice1"
- editHelperAdviceClassName="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.TestEditHelperAdvice1">
+<?xml version="1.0" encoding="ASCII" standalone="no"?><elementtypesconfigurations:ElementTypeSetConfiguration xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.1" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.cyclicAdvices.elementtypesconfigurations" metamodelNsURI="http://www.eclipse.org/uml2/5.0.0/UML" name="Test cyclic edvices dependencies" xmi:id="_ScP1oFYCEeS0WsAAtVmToA" xmi:version="2.0">
+ <adviceBindingsConfigurations editHelperAdviceClassName="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.TestEditHelperAdvice1" identifier="TestEditHelperAdvice1" xmi:id="_SGAo4LK-EeWUIbTgfwAP3g" xsi:type="elementtypesconfigurations:AdviceBindingConfiguration">
<before>org.eclipse.papyrus.infra.elementtypesconfigurations.tests.TestEditHelperAdvice2</before>
- <target
- xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"
- href="../../../plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#_Sca0wVYCEeS0WsAAtVmToA"/>
+ <target href="../../../plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#_Sca0wVYCEeS0WsAAtVmToA" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/>
</adviceBindingsConfigurations>
- <adviceBindingsConfigurations
- xmi:id="_nSyIoLK-EeWUIbTgfwAP3g"
- name="TestEditHelperAdvice2"
- identifier="TestEditHelperAdvice2"
- editHelperAdviceClassName="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.TestEditHelperAdvice2">
+ <adviceBindingsConfigurations editHelperAdviceClassName="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.TestEditHelperAdvice2" identifier="TestEditHelperAdvice2" xmi:id="_nSyIoLK-EeWUIbTgfwAP3g" xsi:type="elementtypesconfigurations:AdviceBindingConfiguration">
<before>org.eclipse.papyrus.infra.elementtypesconfigurations.tests.TestEditHelperAdvice3</before>
<after>org.eclipse.papyrus.infra.elementtypesconfigurations.tests.TestEditHelperAdvice1</after>
- <target
- xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"
- href="../../../plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#_Sca0wVYCEeS0WsAAtVmToA"/>
+ <target href="../../../plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#_Sca0wVYCEeS0WsAAtVmToA" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/>
</adviceBindingsConfigurations>
- <adviceBindingsConfigurations
- xmi:id="_ojuzILK-EeWUIbTgfwAP3g"
- name="TestEditHelperAdvice3"
- identifier="TestEditHelperAdvice3"
- editHelperAdviceClassName="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.TestEditHelperAdvice3">
+ <adviceBindingsConfigurations editHelperAdviceClassName="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.TestEditHelperAdvice3" identifier="TestEditHelperAdvice3" xmi:id="_ojuzILK-EeWUIbTgfwAP3g" xsi:type="elementtypesconfigurations:AdviceBindingConfiguration">
<after>org.eclipse.papyrus.infra.elementtypesconfigurations.tests.TestEditHelperAdvice2</after>
- <target
- xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"
- href="../../../plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#_Sca0wVYCEeS0WsAAtVmToA"/>
+ <target href="../../../plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#_Sca0wVYCEeS0WsAAtVmToA" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/>
</adviceBindingsConfigurations>
-</elementtypesconfigurations:ElementTypeSetConfiguration>
+</elementtypesconfigurations:ElementTypeSetConfiguration> \ No newline at end of file
diff --git a/tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.ui.tests/model/ElementTypesTestsProfile.ctx b/tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.ui.tests/model/ElementTypesTestsProfile.ctx
index d763032cc43..53530aadcbb 100644
--- a/tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.ui.tests/model/ElementTypesTestsProfile.ctx
+++ b/tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.ui.tests/model/ElementTypesTestsProfile.ctx
@@ -1,36 +1,36 @@
<?xml version="1.0" encoding="ASCII"?>
-<contexts:Context xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:constraints="http://www.eclipse.org/papyrus/constraints/0.9" xmlns:contexts="http://www.eclipse.org/papyrus/properties/contexts/0.9" name="ElementTypesTestsProfile">
+<contexts:Context xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:constraints="http://www.eclipse.org/papyrus/constraints/0.9" xmlns:contexts="http://www.eclipse.org/papyrus/properties/contexts/0.9" xmi:id="__3yoMMpnEeWJM5S7C-EqVg" name="ElementTypesTestsProfile">
<dependencies href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#/"/>
- <tabs label="ElementTypesTestsProfile" id="elementtypestestsprofile" priority="100">
- <sections name="Single PackageWithComponents" sectionFile="ui/SinglePackageWithComponents.xwt">
+ <tabs xmi:id="__3z2UMpnEeWJM5S7C-EqVg" label="ElementTypesTestsProfile" id="elementtypestestsprofile" priority="100">
+ <sections xmi:id="__30dYMpnEeWJM5S7C-EqVg" name="Single PackageWithComponents" sectionFile="ui/SinglePackageWithComponents.xwt">
<widget href="ui/SinglePackageWithComponents.xwt#/"/>
</sections>
- <sections name="Multiple PackageWithComponents" sectionFile="ui/MultiplePackageWithComponents.xwt">
+ <sections xmi:id="__31rgMpnEeWJM5S7C-EqVg" name="Multiple PackageWithComponents" sectionFile="ui/MultiplePackageWithComponents.xwt">
<widget href="ui/MultiplePackageWithComponents.xwt#/"/>
</sections>
- <sections name="Single StereotypeWithFeaturesToSet" sectionFile="ui/SingleStereotypeWithFeaturesToSet.xwt">
+ <sections xmi:id="__31rgcpnEeWJM5S7C-EqVg" name="Single StereotypeWithFeaturesToSet" sectionFile="ui/SingleStereotypeWithFeaturesToSet.xwt">
<widget href="ui/SingleStereotypeWithFeaturesToSet.xwt#/"/>
</sections>
- <sections name="Multiple StereotypeWithFeaturesToSet" sectionFile="ui/MultipleStereotypeWithFeaturesToSet.xwt">
+ <sections xmi:id="__31rgspnEeWJM5S7C-EqVg" name="Multiple StereotypeWithFeaturesToSet" sectionFile="ui/MultipleStereotypeWithFeaturesToSet.xwt">
<widget href="ui/MultipleStereotypeWithFeaturesToSet.xwt#/"/>
</sections>
</tabs>
- <views name="Single StereotypeWithFeaturesToSet" sections="//@tabs.0/@sections.2" automaticContext="true" datacontexts="//@dataContexts.0/@elements.1">
- <constraints xsi:type="constraints:SimpleConstraint" name="isSingleStereotypeWithFeaturesToSet">
+ <views xmi:id="__31rg8pnEeWJM5S7C-EqVg" name="Single StereotypeWithFeaturesToSet" sections="__31rgcpnEeWJM5S7C-EqVg" automaticContext="true" datacontexts="__4Cf0spnEeWJM5S7C-EqVg">
+ <constraints xsi:type="constraints:SimpleConstraint" xmi:id="__325oMpnEeWJM5S7C-EqVg" name="isSingleStereotypeWithFeaturesToSet">
<constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="constraints:ValueProperty" name="stereotypeName" value="ElementTypesTestsProfile::StereotypeWithFeaturesToSet"/>
+ <properties xsi:type="constraints:ValueProperty" xmi:id="__33gsMpnEeWJM5S7C-EqVg" name="stereotypeName" value="ElementTypesTestsProfile::StereotypeWithFeaturesToSet"/>
</constraints>
</views>
- <dataContexts name="ElementTypesTestsProfile">
- <elements name="PackageWithComponents">
+ <dataContexts xmi:id="__4Cf0MpnEeWJM5S7C-EqVg" name="ElementTypesTestsProfile">
+ <elements xmi:id="__4Cf0cpnEeWJM5S7C-EqVg" name="PackageWithComponents">
<supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.1"/>
</elements>
- <elements name="StereotypeWithFeaturesToSet">
- <properties name="boolean" type="Boolean"/>
- <properties name="multiStrings" multiplicity="-1"/>
- <properties name="value" type="Integer"/>
- <properties name="stringFeature"/>
- <properties name="enumeration" type="Enumeration"/>
+ <elements xmi:id="__4Cf0spnEeWJM5S7C-EqVg" name="StereotypeWithFeaturesToSet">
+ <properties xmi:id="__4Dt8MpnEeWJM5S7C-EqVg" name="boolean" type="Boolean"/>
+ <properties xmi:id="__4Dt8cpnEeWJM5S7C-EqVg" name="multiStrings" multiplicity="-1"/>
+ <properties xmi:id="__4Dt8spnEeWJM5S7C-EqVg" name="value" type="Integer"/>
+ <properties xmi:id="__4Dt88pnEeWJM5S7C-EqVg" name="stringFeature"/>
+ <properties xmi:id="__4Dt9MpnEeWJM5S7C-EqVg" name="enumeration" type="Enumeration"/>
<supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.1"/>
</elements>
<modelElementFactory href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@modelElementFactories.2"/>
diff --git a/tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.ui.tests/model/WorkspaceTest.elementtypesconfigurations b/tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.ui.tests/model/WorkspaceTest.elementtypesconfigurations
index 2d5f71f7fe5..2480bdd4f7c 100644
--- a/tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.ui.tests/model/WorkspaceTest.elementtypesconfigurations
+++ b/tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.ui.tests/model/WorkspaceTest.elementtypesconfigurations
@@ -1,42 +1,12 @@
-<?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.0"
- xmlns:setvaluesadviceconfiguration="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/emf/setvaluesadviceconfiguration/1.0"
- xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML"
- xmi:id="_ScP1oFYCEeS0WsAAtVmToA"
- name="WorkspaceTypeTests"
- description=""
- identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.workspacetype"
- metamodelNsURI="http://www.eclipse.org/uml2/5.0.0/UML">
- <elementTypeConfigurations
- xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"
- xmi:id="_Sg8B4MyyEeS2aYvfnAB4ZA"
- name="WorkspaceType_AbstractClass"
- identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.tool"
- hint="WorkspaceType_AbstractClass">
- <specializedTypesID>org.eclipse.papyrus.uml.Class</specializedTypesID>
- </elementTypeConfigurations>
- <adviceBindingsConfigurations
- xsi:type="setvaluesadviceconfiguration:SetValuesAdviceConfiguration"
- xmi:id="_1JyvELtVEeSfJNL-2_VlLg"
- name="WorkspaceType_AbstractClass"
- identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.tool"
- editHelperAdviceClassName=""
- target="_Sg8B4MyyEeS2aYvfnAB4ZA">
- <featuresToSet
- xmi:id="_CNnKsLtWEeSfJNL-2_VlLg"
- featureName="isAbstract">
- <value
- xsi:type="setvaluesadviceconfiguration:ConstantValue"
- xmi:id="_E2SdILtWEeSfJNL-2_VlLg">
- <valueInstance
- xsi:type="uml:LiteralBoolean"
- xmi:id="_FySLULtWEeSfJNL-2_VlLg"
- value="true"/>
- </value>
- </featuresToSet>
- </adviceBindingsConfigurations>
-</elementtypesconfigurations:ElementTypeSetConfiguration>
+<?xml version="1.0" encoding="ASCII" standalone="no"?><elementtypesconfigurations:ElementTypeSetConfiguration xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.1" xmlns:setvaluesadviceconfiguration="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/emf/setvaluesadviceconfiguration/1.1" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" description="" identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.workspacetype" metamodelNsURI="http://www.eclipse.org/uml2/5.0.0/UML" name="WorkspaceTypeTests" xmi:id="_ScP1oFYCEeS0WsAAtVmToA" xmi:version="2.0">
+ <elementTypeConfigurations hint="WorkspaceType_AbstractClass" identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.tool" name="WorkspaceType_AbstractClass" xmi:id="_Sg8B4MyyEeS2aYvfnAB4ZA" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <specializedTypesID>org.eclipse.papyrus.uml.Class</specializedTypesID>
+ </elementTypeConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.tool" target="_Sg8B4MyyEeS2aYvfnAB4ZA" xmi:id="_1JyvELtVEeSfJNL-2_VlLg" xsi:type="setvaluesadviceconfiguration:SetValuesAdviceConfiguration">
+ <featuresToSet featureName="isAbstract" xmi:id="_CNnKsLtWEeSfJNL-2_VlLg">
+ <value xmi:id="_E2SdILtWEeSfJNL-2_VlLg" xsi:type="setvaluesadviceconfiguration:ConstantValue">
+ <valueInstance value="true" xmi:id="_FySLULtWEeSfJNL-2_VlLg" xsi:type="uml:LiteralBoolean"/>
+ </value>
+ </featuresToSet>
+ </adviceBindingsConfigurations>
+</elementtypesconfigurations:ElementTypeSetConfiguration> \ No newline at end of file
diff --git a/tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.ui.tests/model/elementtypetestui.elementtypesconfigurations b/tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.ui.tests/model/elementtypetestui.elementtypesconfigurations
new file mode 100644
index 00000000000..4e82edba727
--- /dev/null
+++ b/tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.ui.tests/model/elementtypetestui.elementtypesconfigurations
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="ASCII" standalone="no"?><elementtypesconfigurations:ElementTypeSetConfiguration xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.1" xmlns:runtimevalueseditionadviceconfiguration="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/emf/runtimevalueseditionadviceconfiguration/1.1" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.tests.ui" metamodelNsURI="http://www.eclipse.org/uml2/5.0.0/UML" name="Test element types UI" xmi:id="_ScP1oFYCEeS0WsAAtVmToA" xmi:version="2.0">
+ <elementTypeConfigurations description="Test elementTypeConfigurations" hint="ElementElementTypeConfigurations" identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.classSimpleStereotypeRenameWithView" name="Package With Stereotype And Renamed - View" xmi:id="_SKcvUMzEEeSJ0sn3znt87w" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <specializedTypesID>org.eclipse.papyrus.infra.elementtypesconfigurations.tests.classSimpleStereotypeRename</specializedTypesID>
+ <matcherConfiguration matcherClassName="org.eclipse.gmf.runtime.emf.type.core.NullElementMatcher" xmi:id="_9WxiANLXEeSAkKOodzTEYg" xsi:type="elementtypesconfigurations:MatcherConfiguration"/>
+ </elementTypeConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.classSimpleStereotypeRenameWithView.advice" target="_SKcvUMzEEeSJ0sn3znt87w" xmi:id="_bmwRsMzEEeSJ0sn3znt87w" xsi:type="runtimevalueseditionadviceconfiguration:RuntimeValuesEditionAdviceConfiguration">
+ <viewsToDisplay xmi:id="_d7FEwMzEEeSJ0sn3znt87w">
+ <view href="ElementTypesTestsProfile.ctx#__31rg8pnEeWJM5S7C-EqVg"/>
+ </viewsToDisplay>
+ </adviceBindingsConfigurations>
+</elementtypesconfigurations:ElementTypeSetConfiguration> \ No newline at end of file
diff --git a/tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.ui.tests/plugin.xml b/tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.ui.tests/plugin.xml
index ea973a57879..fd912e73f31 100644
--- a/tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.ui.tests/plugin.xml
+++ b/tests/junit/plugins/core/org.eclipse.papyrus.infra.elementtypesconfigurations.ui.tests/plugin.xml
@@ -7,5 +7,11 @@
model="model/ElementTypesMenu.xmi">
</menuCreationModel>
</extension>
-
+ <extension
+ point="org.eclipse.papyrus.infra.elementtypesconfigurations.elementTypeSetConfiguration">
+ <elementTypeSet
+ clientContextID="org.eclipse.papyrus.infra.services.edit.TypeContext"
+ path="model/elementtypetestui.elementtypesconfigurations">
+ </elementTypeSet>
+ </extension>
</plugin>
diff --git a/tests/junit/plugins/infra/gmfdiag/assistant/org.eclipse.papyrus.infra.gmfdiag.assistant.tests/resources/j2ee-all.elementtypesconfigurations b/tests/junit/plugins/infra/gmfdiag/assistant/org.eclipse.papyrus.infra.gmfdiag.assistant.tests/resources/j2ee-all.elementtypesconfigurations
index b193ee8600a..bc003205c6c 100644
--- a/tests/junit/plugins/infra/gmfdiag/assistant/org.eclipse.papyrus.infra.gmfdiag.assistant.tests/resources/j2ee-all.elementtypesconfigurations
+++ b/tests/junit/plugins/infra/gmfdiag/assistant/org.eclipse.papyrus.infra.gmfdiag.assistant.tests/resources/j2ee-all.elementtypesconfigurations
@@ -1,99 +1,98 @@
-<?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:applystereotypeadviceconfiguration="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/uml/applystereotypeadvice/1.0" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.0" xmlns:stereotypeapplicationmatcherconfiguration="http://www.eclipse.org/payrus/elementtypesconfigurations/uml/stereotypematcherconfiguration" xmi:id="_JHkF8Jg0EeSrbqbUdG1DAA" name="j2ee" identifier="org.eclipse.papyrus.example.j2ee.elementTypes">
- <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="_JHkF8Zg0EeSrbqbUdG1DAA" name="Bean" identifier="org.eclipse.papyrus.example.j2ee.Bean">
- <iconEntry xmi:id="_JHkF8pg0EeSrbqbUdG1DAA" iconPath="/icons/full/obj16/Class.gif" bundleId="org.eclipse.uml2.uml.edit"/>
- <specializedTypesID>org.eclipse.papyrus.uml.Class</specializedTypesID>
- <matcherConfiguration xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration" xmi:id="_JHkF85g0EeSrbqbUdG1DAA">
- <stereotypesQualifiedNames>j2ee::Bean</stereotypesQualifiedNames>
- </matcherConfiguration>
- </elementTypeConfigurations>
- <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="_JHkF9Jg0EeSrbqbUdG1DAA" name="Finder" identifier="org.eclipse.papyrus.example.j2ee.Finder">
- <iconEntry xmi:id="_JHkF9Zg0EeSrbqbUdG1DAA" iconPath="/icons/full/obj16/Operation.gif" bundleId="org.eclipse.uml2.uml.edit"/>
- <specializedTypesID>org.eclipse.papyrus.uml.Operation</specializedTypesID>
- <matcherConfiguration xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration" xmi:id="_JHkF9pg0EeSrbqbUdG1DAA">
- <stereotypesQualifiedNames>j2ee::Finder</stereotypesQualifiedNames>
- </matcherConfiguration>
- </elementTypeConfigurations>
- <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="_JHkF95g0EeSrbqbUdG1DAA" name="Import" identifier="org.eclipse.papyrus.example.j2ee.Import">
- <iconEntry xmi:id="_JHkF-Jg0EeSrbqbUdG1DAA" iconPath="/icons/full/obj16/Dependency.gif" bundleId="org.eclipse.uml2.uml.edit"/>
- <specializedTypesID>org.eclipse.papyrus.uml.Dependency</specializedTypesID>
- <matcherConfiguration xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration" xmi:id="_JHkF-Zg0EeSrbqbUdG1DAA">
- <stereotypesQualifiedNames>j2ee::Import</stereotypesQualifiedNames>
- </matcherConfiguration>
- </elementTypeConfigurations>
- <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="_JHkF-pg0EeSrbqbUdG1DAA" name="Web" identifier="org.eclipse.papyrus.example.j2ee.Web" hint="UML::Association">
- <iconEntry xmi:id="_JHkF-5g0EeSrbqbUdG1DAA" iconPath="/icons/full/obj16/Association.gif" bundleId="org.eclipse.uml2.uml.edit"/>
- <specializedTypesID>org.eclipse.papyrus.uml.Association</specializedTypesID>
- <matcherConfiguration xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration" xmi:id="_JHkF_Jg0EeSrbqbUdG1DAA">
- <stereotypesQualifiedNames>j2ee::Web</stereotypesQualifiedNames>
- </matcherConfiguration>
- </elementTypeConfigurations>
- <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="_JHkF_Zg0EeSrbqbUdG1DAA" name="User" identifier="org.eclipse.papyrus.example.j2ee.User">
- <iconEntry xmi:id="_JHkF_pg0EeSrbqbUdG1DAA" iconPath="/icons/full/obj16/Actor.gif" bundleId="org.eclipse.uml2.uml.edit"/>
- <specializedTypesID>org.eclipse.papyrus.uml.Actor</specializedTypesID>
- <matcherConfiguration xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration" xmi:id="_JHkF_5g0EeSrbqbUdG1DAA">
- <stereotypesQualifiedNames>j2ee::User</stereotypesQualifiedNames>
- </matcherConfiguration>
- </elementTypeConfigurations>
- <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="_JHkGAJg0EeSrbqbUdG1DAA" name="Browser" identifier="org.eclipse.papyrus.example.j2ee.Browser">
- <iconEntry xmi:id="_JHkGAZg0EeSrbqbUdG1DAA" iconPath="/icons/full/obj16/Actor.gif" bundleId="org.eclipse.uml2.uml.edit"/>
- <specializedTypesID>org.eclipse.papyrus.uml.Actor</specializedTypesID>
- <matcherConfiguration xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration" xmi:id="_JHkGApg0EeSrbqbUdG1DAA">
- <stereotypesQualifiedNames>j2ee::Browser</stereotypesQualifiedNames>
- </matcherConfiguration>
- </elementTypeConfigurations>
- <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="_JHkGA5g0EeSrbqbUdG1DAA" name="BranchPoint" identifier="org.eclipse.papyrus.example.j2ee.BranchPoint">
- <iconEntry xmi:id="_JHkGBJg0EeSrbqbUdG1DAA" iconPath="/icons/full/obj16/ExtensionPoint.gif" bundleId="org.eclipse.uml2.uml.edit"/>
- <specializedTypesID>org.eclipse.papyrus.uml.ExtensionPoint</specializedTypesID>
- <matcherConfiguration xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration" xmi:id="_JHkGBZg0EeSrbqbUdG1DAA">
- <stereotypesQualifiedNames>j2ee::BranchPoint</stereotypesQualifiedNames>
- </matcherConfiguration>
- </elementTypeConfigurations>
- <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="_JHkGBpg0EeSrbqbUdG1DAA" name="WebScenario" identifier="org.eclipse.papyrus.example.j2ee.WebScenario">
- <iconEntry xmi:id="_JHkGB5g0EeSrbqbUdG1DAA" iconPath="/icons/full/obj16/UseCase.gif" bundleId="org.eclipse.uml2.uml.edit"/>
- <specializedTypesID>org.eclipse.papyrus.uml.UseCase</specializedTypesID>
- <matcherConfiguration xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration" xmi:id="_JHkGCJg0EeSrbqbUdG1DAA">
- <stereotypesQualifiedNames>j2ee::WebScenario</stereotypesQualifiedNames>
- </matcherConfiguration>
- </elementTypeConfigurations>
- <adviceBindingsConfigurations xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration" xmi:id="_JHkGCZg0EeSrbqbUdG1DAA" name="Apply Bean" identifier="org.eclipse.papyrus.example.j2ee.bean" target="_JHkF8Zg0EeSrbqbUdG1DAA">
- <stereotypesToApply xmi:id="_JHkGCpg0EeSrbqbUdG1DAA" stereotypeQualifiedName="j2ee::Bean" updateName="true">
- <requiredProfiles>j2ee</requiredProfiles>
- </stereotypesToApply>
- </adviceBindingsConfigurations>
- <adviceBindingsConfigurations xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration" xmi:id="_JHkGC5g0EeSrbqbUdG1DAA" name="Apply Finder" identifier="org.eclipse.papyrus.example.j2ee.finder" target="_JHkF9Jg0EeSrbqbUdG1DAA">
- <stereotypesToApply xmi:id="_JHkGDJg0EeSrbqbUdG1DAA" stereotypeQualifiedName="j2ee::Finder" updateName="true">
- <requiredProfiles>j2ee</requiredProfiles>
- </stereotypesToApply>
- </adviceBindingsConfigurations>
- <adviceBindingsConfigurations xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration" xmi:id="_JHkGDZg0EeSrbqbUdG1DAA" name="Apply Import" identifier="org.eclipse.papyrus.example.j2ee.import" target="_JHkF95g0EeSrbqbUdG1DAA">
- <stereotypesToApply xmi:id="_JHkGDpg0EeSrbqbUdG1DAA" stereotypeQualifiedName="j2ee::Import" updateName="true">
- <requiredProfiles>j2ee</requiredProfiles>
- </stereotypesToApply>
- </adviceBindingsConfigurations>
- <adviceBindingsConfigurations xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration" xmi:id="_JHkGD5g0EeSrbqbUdG1DAA" name="Apply Web" identifier="org.eclipse.papyrus.example.j2ee.web" target="_JHkF-pg0EeSrbqbUdG1DAA">
- <stereotypesToApply xmi:id="_JHkGEJg0EeSrbqbUdG1DAA" stereotypeQualifiedName="j2ee::Web" updateName="true">
- <requiredProfiles>j2ee</requiredProfiles>
- </stereotypesToApply>
- </adviceBindingsConfigurations>
- <adviceBindingsConfigurations xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration" xmi:id="_JHkGEZg0EeSrbqbUdG1DAA" name="Apply User" identifier="org.eclipse.papyrus.example.j2ee.user" target="_JHkF_Zg0EeSrbqbUdG1DAA">
- <stereotypesToApply xmi:id="_JHkGEpg0EeSrbqbUdG1DAA" stereotypeQualifiedName="j2ee::User" updateName="true">
- <requiredProfiles>j2ee</requiredProfiles>
- </stereotypesToApply>
- </adviceBindingsConfigurations>
- <adviceBindingsConfigurations xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration" xmi:id="_JHkGE5g0EeSrbqbUdG1DAA" name="Apply Browser" identifier="org.eclipse.papyrus.example.j2ee.browser" target="_JHkGAJg0EeSrbqbUdG1DAA">
- <stereotypesToApply xmi:id="_JHkGFJg0EeSrbqbUdG1DAA" stereotypeQualifiedName="j2ee::Browser" updateName="true">
- <requiredProfiles>j2ee</requiredProfiles>
- </stereotypesToApply>
- </adviceBindingsConfigurations>
- <adviceBindingsConfigurations xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration" xmi:id="_JHkGFZg0EeSrbqbUdG1DAA" name="Apply BranchPoint" identifier="org.eclipse.papyrus.example.j2ee.branchPoint" target="_JHkGA5g0EeSrbqbUdG1DAA">
- <stereotypesToApply xmi:id="_JHkGFpg0EeSrbqbUdG1DAA" stereotypeQualifiedName="j2ee::BranchPoint" updateName="true">
- <requiredProfiles>j2ee</requiredProfiles>
- </stereotypesToApply>
- </adviceBindingsConfigurations>
- <adviceBindingsConfigurations xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration" xmi:id="_JHkGF5g0EeSrbqbUdG1DAA" name="Apply WebScenario" identifier="org.eclipse.papyrus.example.j2ee.webScenario" target="_JHkGBpg0EeSrbqbUdG1DAA">
- <stereotypesToApply xmi:id="_JHkGGJg0EeSrbqbUdG1DAA" stereotypeQualifiedName="j2ee::WebScenario" updateName="true">
- <requiredProfiles>j2ee</requiredProfiles>
- </stereotypesToApply>
- </adviceBindingsConfigurations>
-</elementtypesconfigurations:ElementTypeSetConfiguration>
+<?xml version="1.0" encoding="ASCII" standalone="no"?><elementtypesconfigurations:ElementTypeSetConfiguration xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.1" xmlns:applystereotypeadviceconfiguration="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/uml/applystereotypeadvice/1.1" xmlns:stereotypeapplicationmatcherconfiguration="http://www.eclipse.org/payrus/elementtypesconfigurations/uml/stereotypematcherconfiguration/1.1" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" identifier="org.eclipse.papyrus.example.j2ee.elementTypes" metamodelNsURI="j2ee" name="j2ee" xmi:id="_JHkF8Jg0EeSrbqbUdG1DAA" xmi:version="2.0">
+ <elementTypeConfigurations identifier="org.eclipse.papyrus.example.j2ee.Bean" name="Bean" xmi:id="_JHkF8Zg0EeSrbqbUdG1DAA" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <iconEntry bundleId="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Class.gif" xmi:id="_JHkF8pg0EeSrbqbUdG1DAA"/>
+ <specializedTypesID>org.eclipse.papyrus.uml.Class</specializedTypesID>
+ <matcherConfiguration xmi:id="_JHkF85g0EeSrbqbUdG1DAA" xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration">
+ <stereotypesQualifiedNames>j2ee::Bean</stereotypesQualifiedNames>
+ </matcherConfiguration>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations identifier="org.eclipse.papyrus.example.j2ee.Finder" name="Finder" xmi:id="_JHkF9Jg0EeSrbqbUdG1DAA" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <iconEntry bundleId="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Operation.gif" xmi:id="_JHkF9Zg0EeSrbqbUdG1DAA"/>
+ <specializedTypesID>org.eclipse.papyrus.uml.Operation</specializedTypesID>
+ <matcherConfiguration xmi:id="_JHkF9pg0EeSrbqbUdG1DAA" xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration">
+ <stereotypesQualifiedNames>j2ee::Finder</stereotypesQualifiedNames>
+ </matcherConfiguration>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations identifier="org.eclipse.papyrus.example.j2ee.Import" name="Import" xmi:id="_JHkF95g0EeSrbqbUdG1DAA" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <iconEntry bundleId="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Dependency.gif" xmi:id="_JHkF-Jg0EeSrbqbUdG1DAA"/>
+ <specializedTypesID>org.eclipse.papyrus.uml.Dependency</specializedTypesID>
+ <matcherConfiguration xmi:id="_JHkF-Zg0EeSrbqbUdG1DAA" xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration">
+ <stereotypesQualifiedNames>j2ee::Import</stereotypesQualifiedNames>
+ </matcherConfiguration>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations hint="UML::Association" identifier="org.eclipse.papyrus.example.j2ee.Web" name="Web" xmi:id="_JHkF-pg0EeSrbqbUdG1DAA" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <iconEntry bundleId="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Association.gif" xmi:id="_JHkF-5g0EeSrbqbUdG1DAA"/>
+ <specializedTypesID>org.eclipse.papyrus.uml.Association</specializedTypesID>
+ <matcherConfiguration xmi:id="_JHkF_Jg0EeSrbqbUdG1DAA" xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration">
+ <stereotypesQualifiedNames>j2ee::Web</stereotypesQualifiedNames>
+ </matcherConfiguration>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations identifier="org.eclipse.papyrus.example.j2ee.User" name="User" xmi:id="_JHkF_Zg0EeSrbqbUdG1DAA" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <iconEntry bundleId="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Actor.gif" xmi:id="_JHkF_pg0EeSrbqbUdG1DAA"/>
+ <specializedTypesID>org.eclipse.papyrus.uml.Actor</specializedTypesID>
+ <matcherConfiguration xmi:id="_JHkF_5g0EeSrbqbUdG1DAA" xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration">
+ <stereotypesQualifiedNames>j2ee::User</stereotypesQualifiedNames>
+ </matcherConfiguration>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations identifier="org.eclipse.papyrus.example.j2ee.Browser" name="Browser" xmi:id="_JHkGAJg0EeSrbqbUdG1DAA" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <iconEntry bundleId="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Actor.gif" xmi:id="_JHkGAZg0EeSrbqbUdG1DAA"/>
+ <specializedTypesID>org.eclipse.papyrus.uml.Actor</specializedTypesID>
+ <matcherConfiguration xmi:id="_JHkGApg0EeSrbqbUdG1DAA" xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration">
+ <stereotypesQualifiedNames>j2ee::Browser</stereotypesQualifiedNames>
+ </matcherConfiguration>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations identifier="org.eclipse.papyrus.example.j2ee.BranchPoint" name="BranchPoint" xmi:id="_JHkGA5g0EeSrbqbUdG1DAA" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <iconEntry bundleId="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/ExtensionPoint.gif" xmi:id="_JHkGBJg0EeSrbqbUdG1DAA"/>
+ <specializedTypesID>org.eclipse.papyrus.uml.ExtensionPoint</specializedTypesID>
+ <matcherConfiguration xmi:id="_JHkGBZg0EeSrbqbUdG1DAA" xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration">
+ <stereotypesQualifiedNames>j2ee::BranchPoint</stereotypesQualifiedNames>
+ </matcherConfiguration>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations identifier="org.eclipse.papyrus.example.j2ee.WebScenario" name="WebScenario" xmi:id="_JHkGBpg0EeSrbqbUdG1DAA" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <iconEntry bundleId="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/UseCase.gif" xmi:id="_JHkGB5g0EeSrbqbUdG1DAA"/>
+ <specializedTypesID>org.eclipse.papyrus.uml.UseCase</specializedTypesID>
+ <matcherConfiguration xmi:id="_JHkGCJg0EeSrbqbUdG1DAA" xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration">
+ <stereotypesQualifiedNames>j2ee::WebScenario</stereotypesQualifiedNames>
+ </matcherConfiguration>
+ </elementTypeConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.example.j2ee.bean" target="_JHkF8Zg0EeSrbqbUdG1DAA" xmi:id="_JHkGCZg0EeSrbqbUdG1DAA" xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="j2ee::Bean" updateName="true" xmi:id="_JHkGCpg0EeSrbqbUdG1DAA">
+ <requiredProfiles>j2ee</requiredProfiles>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.example.j2ee.finder" target="_JHkF9Jg0EeSrbqbUdG1DAA" xmi:id="_JHkGC5g0EeSrbqbUdG1DAA" xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="j2ee::Finder" updateName="true" xmi:id="_JHkGDJg0EeSrbqbUdG1DAA">
+ <requiredProfiles>j2ee</requiredProfiles>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.example.j2ee.import" target="_JHkF95g0EeSrbqbUdG1DAA" xmi:id="_JHkGDZg0EeSrbqbUdG1DAA" xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="j2ee::Import" updateName="true" xmi:id="_JHkGDpg0EeSrbqbUdG1DAA">
+ <requiredProfiles>j2ee</requiredProfiles>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.example.j2ee.web" target="_JHkF-pg0EeSrbqbUdG1DAA" xmi:id="_JHkGD5g0EeSrbqbUdG1DAA" xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="j2ee::Web" updateName="true" xmi:id="_JHkGEJg0EeSrbqbUdG1DAA">
+ <requiredProfiles>j2ee</requiredProfiles>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.example.j2ee.user" target="_JHkF_Zg0EeSrbqbUdG1DAA" xmi:id="_JHkGEZg0EeSrbqbUdG1DAA" xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="j2ee::User" updateName="true" xmi:id="_JHkGEpg0EeSrbqbUdG1DAA">
+ <requiredProfiles>j2ee</requiredProfiles>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.example.j2ee.browser" target="_JHkGAJg0EeSrbqbUdG1DAA" xmi:id="_JHkGE5g0EeSrbqbUdG1DAA" xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="j2ee::Browser" updateName="true" xmi:id="_JHkGFJg0EeSrbqbUdG1DAA">
+ <requiredProfiles>j2ee</requiredProfiles>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.example.j2ee.branchPoint" target="_JHkGA5g0EeSrbqbUdG1DAA" xmi:id="_JHkGFZg0EeSrbqbUdG1DAA" xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="j2ee::BranchPoint" updateName="true" xmi:id="_JHkGFpg0EeSrbqbUdG1DAA">
+ <requiredProfiles>j2ee</requiredProfiles>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.example.j2ee.webScenario" target="_JHkGBpg0EeSrbqbUdG1DAA" xmi:id="_JHkGF5g0EeSrbqbUdG1DAA" xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="j2ee::WebScenario" updateName="true" xmi:id="_JHkGGJg0EeSrbqbUdG1DAA">
+ <requiredProfiles>j2ee</requiredProfiles>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+</elementtypesconfigurations:ElementTypeSetConfiguration> \ No newline at end of file
diff --git a/tests/junit/plugins/infra/gmfdiag/assistant/org.eclipse.papyrus.infra.gmfdiag.assistant.tests/resources/j2ee-usecase.elementtypesconfigurations b/tests/junit/plugins/infra/gmfdiag/assistant/org.eclipse.papyrus.infra.gmfdiag.assistant.tests/resources/j2ee-usecase.elementtypesconfigurations
index 166c3718dad..a5057bcc52f 100644
--- a/tests/junit/plugins/infra/gmfdiag/assistant/org.eclipse.papyrus.infra.gmfdiag.assistant.tests/resources/j2ee-usecase.elementtypesconfigurations
+++ b/tests/junit/plugins/infra/gmfdiag/assistant/org.eclipse.papyrus.infra.gmfdiag.assistant.tests/resources/j2ee-usecase.elementtypesconfigurations
@@ -1,183 +1,182 @@
-<?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:applystereotypeadviceconfiguration="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/uml/applystereotypeadvice/1.0" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.0" xmlns:stereotypeapplicationmatcherconfiguration="http://www.eclipse.org/payrus/elementtypesconfigurations/uml/stereotypematcherconfiguration" xmi:id="_PDKksJgTEeSXtOdwR_uKBQ" name="j2ee" identifier="org.eclipse.papyrus.example.j2ee.elementTypes">
- <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="_PDKksZgTEeSXtOdwR_uKBQ" name="Import" identifier="org.eclipse.papyrus.example.j2ee.Import_4013" hint="4013">
- <iconEntry xmi:id="_PDKkspgTEeSXtOdwR_uKBQ" iconPath="/icons/full/obj16/Dependency.gif" bundleId="org.eclipse.uml2.uml.edit"/>
- <specializedTypesID>org.eclipse.papyrus.uml.diagram.usecase.Dependency_4013</specializedTypesID>
- <matcherConfiguration xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration" xmi:id="_PDKks5gTEeSXtOdwR_uKBQ">
- <stereotypesQualifiedNames>j2ee::Import</stereotypesQualifiedNames>
- </matcherConfiguration>
- </elementTypeConfigurations>
- <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="_PDKktJgTEeSXtOdwR_uKBQ" name="Web" identifier="org.eclipse.papyrus.example.j2ee.Web_4011" hint="4011">
- <iconEntry xmi:id="_PDKktZgTEeSXtOdwR_uKBQ" iconPath="/icons/full/obj16/Association.gif" bundleId="org.eclipse.uml2.uml.edit"/>
- <specializedTypesID>org.eclipse.papyrus.uml.diagram.usecase.Association_4011</specializedTypesID>
- <matcherConfiguration xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration" xmi:id="_PDKktpgTEeSXtOdwR_uKBQ">
- <stereotypesQualifiedNames>j2ee::Web</stereotypesQualifiedNames>
- </matcherConfiguration>
- </elementTypeConfigurations>
- <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="_PDKkt5gTEeSXtOdwR_uKBQ" name="User (3018)" identifier="org.eclipse.papyrus.example.j2ee.User_3018" hint="3018">
- <iconEntry xmi:id="_PDKkuJgTEeSXtOdwR_uKBQ" iconPath="/icons/full/obj16/Actor.gif" bundleId="org.eclipse.uml2.uml.edit"/>
- <specializedTypesID>org.eclipse.papyrus.uml.diagram.usecase.Actor_3018</specializedTypesID>
- <matcherConfiguration xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration" xmi:id="_PDKkuZgTEeSXtOdwR_uKBQ">
- <stereotypesQualifiedNames>j2ee::User</stereotypesQualifiedNames>
- </matcherConfiguration>
- </elementTypeConfigurations>
- <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="_PDKkupgTEeSXtOdwR_uKBQ" name="User (3011)" identifier="org.eclipse.papyrus.example.j2ee.User_3011" hint="3011">
- <iconEntry xmi:id="_PDKku5gTEeSXtOdwR_uKBQ" iconPath="/icons/full/obj16/Actor.gif" bundleId="org.eclipse.uml2.uml.edit"/>
- <specializedTypesID>org.eclipse.papyrus.uml.diagram.usecase.Actor_3011</specializedTypesID>
- <matcherConfiguration xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration" xmi:id="_PDKkvJgTEeSXtOdwR_uKBQ">
- <stereotypesQualifiedNames>j2ee::User</stereotypesQualifiedNames>
- </matcherConfiguration>
- </elementTypeConfigurations>
- <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="_PDKkvZgTEeSXtOdwR_uKBQ" name="User (2011)" identifier="org.eclipse.papyrus.example.j2ee.User_2011" hint="2011">
- <iconEntry xmi:id="_PDKkvpgTEeSXtOdwR_uKBQ" iconPath="/icons/full/obj16/Actor.gif" bundleId="org.eclipse.uml2.uml.edit"/>
- <specializedTypesID>org.eclipse.papyrus.uml.diagram.usecase.Actor_2011</specializedTypesID>
- <matcherConfiguration xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration" xmi:id="_PDKkv5gTEeSXtOdwR_uKBQ">
- <stereotypesQualifiedNames>j2ee::User</stereotypesQualifiedNames>
- </matcherConfiguration>
- </elementTypeConfigurations>
- <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="_PDKkwJgTEeSXtOdwR_uKBQ" name="User (2012)" identifier="org.eclipse.papyrus.example.j2ee.User_2012" hint="2012">
- <iconEntry xmi:id="_PDKkwZgTEeSXtOdwR_uKBQ" iconPath="/icons/full/obj16/Actor.gif" bundleId="org.eclipse.uml2.uml.edit"/>
- <specializedTypesID>org.eclipse.papyrus.uml.diagram.usecase.Actor_2012</specializedTypesID>
- <matcherConfiguration xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration" xmi:id="_PDKkwpgTEeSXtOdwR_uKBQ">
- <stereotypesQualifiedNames>j2ee::User</stereotypesQualifiedNames>
- </matcherConfiguration>
- </elementTypeConfigurations>
- <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="_PDKkw5gTEeSXtOdwR_uKBQ" name="Browser (3018)" identifier="org.eclipse.papyrus.example.j2ee.Browser_3018" hint="3018">
- <iconEntry xmi:id="_PDKkxJgTEeSXtOdwR_uKBQ" iconPath="/icons/full/obj16/Actor.gif" bundleId="org.eclipse.uml2.uml.edit"/>
- <specializedTypesID>org.eclipse.papyrus.uml.diagram.usecase.Actor_3018</specializedTypesID>
- <matcherConfiguration xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration" xmi:id="_PDKkxZgTEeSXtOdwR_uKBQ">
- <stereotypesQualifiedNames>j2ee::Browser</stereotypesQualifiedNames>
- </matcherConfiguration>
- </elementTypeConfigurations>
- <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="_PDKkxpgTEeSXtOdwR_uKBQ" name="Browser (3011)" identifier="org.eclipse.papyrus.example.j2ee.Browser_3011" hint="3011">
- <iconEntry xmi:id="_PDKkx5gTEeSXtOdwR_uKBQ" iconPath="/icons/full/obj16/Actor.gif" bundleId="org.eclipse.uml2.uml.edit"/>
- <specializedTypesID>org.eclipse.papyrus.uml.diagram.usecase.Actor_3011</specializedTypesID>
- <matcherConfiguration xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration" xmi:id="_PDKkyJgTEeSXtOdwR_uKBQ">
- <stereotypesQualifiedNames>j2ee::Browser</stereotypesQualifiedNames>
- </matcherConfiguration>
- </elementTypeConfigurations>
- <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="_PDKkyZgTEeSXtOdwR_uKBQ" name="Browser (2011)" identifier="org.eclipse.papyrus.example.j2ee.Browser_2011" hint="2011">
- <iconEntry xmi:id="_PDKkypgTEeSXtOdwR_uKBQ" iconPath="/icons/full/obj16/Actor.gif" bundleId="org.eclipse.uml2.uml.edit"/>
- <specializedTypesID>org.eclipse.papyrus.uml.diagram.usecase.Actor_2011</specializedTypesID>
- <matcherConfiguration xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration" xmi:id="_PDKky5gTEeSXtOdwR_uKBQ">
- <stereotypesQualifiedNames>j2ee::Browser</stereotypesQualifiedNames>
- </matcherConfiguration>
- </elementTypeConfigurations>
- <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="_PDKkzJgTEeSXtOdwR_uKBQ" name="Browser (2012)" identifier="org.eclipse.papyrus.example.j2ee.Browser_2012" hint="2012">
- <iconEntry xmi:id="_PDKkzZgTEeSXtOdwR_uKBQ" iconPath="/icons/full/obj16/Actor.gif" bundleId="org.eclipse.uml2.uml.edit"/>
- <specializedTypesID>org.eclipse.papyrus.uml.diagram.usecase.Actor_2012</specializedTypesID>
- <matcherConfiguration xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration" xmi:id="_PDKkzpgTEeSXtOdwR_uKBQ">
- <stereotypesQualifiedNames>j2ee::Browser</stereotypesQualifiedNames>
- </matcherConfiguration>
- </elementTypeConfigurations>
- <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="_PDKkz5gTEeSXtOdwR_uKBQ" name="BranchPoint (3007)" identifier="org.eclipse.papyrus.example.j2ee.BranchPoint_3007" hint="3007">
- <iconEntry xmi:id="_PDKk0JgTEeSXtOdwR_uKBQ" iconPath="/icons/full/obj16/ExtensionPoint.gif" bundleId="org.eclipse.uml2.uml.edit"/>
- <specializedTypesID>org.eclipse.papyrus.uml.diagram.usecase.ExtensionPoint_3007</specializedTypesID>
- <matcherConfiguration xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration" xmi:id="_PDKk0ZgTEeSXtOdwR_uKBQ">
- <stereotypesQualifiedNames>j2ee::BranchPoint</stereotypesQualifiedNames>
- </matcherConfiguration>
- </elementTypeConfigurations>
- <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="_PDKk0pgTEeSXtOdwR_uKBQ" name="BranchPoint (3008)" identifier="org.eclipse.papyrus.example.j2ee.BranchPoint_3008" hint="3008">
- <iconEntry xmi:id="_PDKk05gTEeSXtOdwR_uKBQ" iconPath="/icons/full/obj16/ExtensionPoint.gif" bundleId="org.eclipse.uml2.uml.edit"/>
- <specializedTypesID>org.eclipse.papyrus.uml.diagram.usecase.ExtensionPoint_3008</specializedTypesID>
- <matcherConfiguration xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration" xmi:id="_PDKk1JgTEeSXtOdwR_uKBQ">
- <stereotypesQualifiedNames>j2ee::BranchPoint</stereotypesQualifiedNames>
- </matcherConfiguration>
- </elementTypeConfigurations>
- <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="_PDKk1ZgTEeSXtOdwR_uKBQ" name="WebScenario (3012)" identifier="org.eclipse.papyrus.example.j2ee.WebScenario_3012" hint="3012">
- <iconEntry xmi:id="_PDKk1pgTEeSXtOdwR_uKBQ" iconPath="/icons/full/obj16/UseCase.gif" bundleId="org.eclipse.uml2.uml.edit"/>
- <specializedTypesID>org.eclipse.papyrus.uml.diagram.usecase.UseCase_3012</specializedTypesID>
- <matcherConfiguration xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration" xmi:id="_PDKk15gTEeSXtOdwR_uKBQ">
- <stereotypesQualifiedNames>j2ee::WebScenario</stereotypesQualifiedNames>
- </matcherConfiguration>
- </elementTypeConfigurations>
- <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="_PDKk2JgTEeSXtOdwR_uKBQ" name="WebScenario (2013)" identifier="org.eclipse.papyrus.example.j2ee.WebScenario_2013" hint="2013">
- <iconEntry xmi:id="_PDKk2ZgTEeSXtOdwR_uKBQ" iconPath="/icons/full/obj16/UseCase.gif" bundleId="org.eclipse.uml2.uml.edit"/>
- <specializedTypesID>org.eclipse.papyrus.uml.diagram.usecase.UseCase_2013</specializedTypesID>
- <matcherConfiguration xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration" xmi:id="_PDKk2pgTEeSXtOdwR_uKBQ">
- <stereotypesQualifiedNames>j2ee::WebScenario</stereotypesQualifiedNames>
- </matcherConfiguration>
- </elementTypeConfigurations>
- <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="_PDKk25gTEeSXtOdwR_uKBQ" name="WebScenario (2014)" identifier="org.eclipse.papyrus.example.j2ee.WebScenario_2014" hint="2014">
- <iconEntry xmi:id="_PDKk3JgTEeSXtOdwR_uKBQ" iconPath="/icons/full/obj16/UseCase.gif" bundleId="org.eclipse.uml2.uml.edit"/>
- <specializedTypesID>org.eclipse.papyrus.uml.diagram.usecase.UseCase_2014</specializedTypesID>
- <matcherConfiguration xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration" xmi:id="_PDKk3ZgTEeSXtOdwR_uKBQ">
- <stereotypesQualifiedNames>j2ee::WebScenario</stereotypesQualifiedNames>
- </matcherConfiguration>
- </elementTypeConfigurations>
- <adviceBindingsConfigurations xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration" xmi:id="_PDKk3pgTEeSXtOdwR_uKBQ" name="Apply Import" identifier="org.eclipse.papyrus.example.j2ee.import_4013" target="_PDKksZgTEeSXtOdwR_uKBQ">
- <stereotypesToApply xmi:id="_PDKk35gTEeSXtOdwR_uKBQ" stereotypeQualifiedName="j2ee::Import" updateName="true">
- <requiredProfiles>j2ee</requiredProfiles>
- </stereotypesToApply>
- </adviceBindingsConfigurations>
- <adviceBindingsConfigurations xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration" xmi:id="_PDKk4JgTEeSXtOdwR_uKBQ" name="Apply Web" identifier="org.eclipse.papyrus.example.j2ee.web_4011" target="_PDKktJgTEeSXtOdwR_uKBQ">
- <stereotypesToApply xmi:id="_PDKk4ZgTEeSXtOdwR_uKBQ" stereotypeQualifiedName="j2ee::Web" updateName="true">
- <requiredProfiles>j2ee</requiredProfiles>
- </stereotypesToApply>
- </adviceBindingsConfigurations>
- <adviceBindingsConfigurations xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration" xmi:id="_PDKk4pgTEeSXtOdwR_uKBQ" name="Apply User" identifier="org.eclipse.papyrus.example.j2ee.user_3018" target="_PDKkt5gTEeSXtOdwR_uKBQ">
- <stereotypesToApply xmi:id="_PDKk45gTEeSXtOdwR_uKBQ" stereotypeQualifiedName="j2ee::User" updateName="true">
- <requiredProfiles>j2ee</requiredProfiles>
- </stereotypesToApply>
- </adviceBindingsConfigurations>
- <adviceBindingsConfigurations xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration" xmi:id="_PDKk5JgTEeSXtOdwR_uKBQ" name="Apply User" identifier="org.eclipse.papyrus.example.j2ee.user_3011" target="_PDKkupgTEeSXtOdwR_uKBQ">
- <stereotypesToApply xmi:id="_PDKk5ZgTEeSXtOdwR_uKBQ" stereotypeQualifiedName="j2ee::User" updateName="true">
- <requiredProfiles>j2ee</requiredProfiles>
- </stereotypesToApply>
- </adviceBindingsConfigurations>
- <adviceBindingsConfigurations xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration" xmi:id="_PDKk5pgTEeSXtOdwR_uKBQ" name="Apply User" identifier="org.eclipse.papyrus.example.j2ee.user_2011" target="_PDKkvZgTEeSXtOdwR_uKBQ">
- <stereotypesToApply xmi:id="_PDKk55gTEeSXtOdwR_uKBQ" stereotypeQualifiedName="j2ee::User" updateName="true">
- <requiredProfiles>j2ee</requiredProfiles>
- </stereotypesToApply>
- </adviceBindingsConfigurations>
- <adviceBindingsConfigurations xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration" xmi:id="_PDKk6JgTEeSXtOdwR_uKBQ" name="Apply User" identifier="org.eclipse.papyrus.example.j2ee.user_2012" target="_PDKkwJgTEeSXtOdwR_uKBQ">
- <stereotypesToApply xmi:id="_PDKk6ZgTEeSXtOdwR_uKBQ" stereotypeQualifiedName="j2ee::User" updateName="true">
- <requiredProfiles>j2ee</requiredProfiles>
- </stereotypesToApply>
- </adviceBindingsConfigurations>
- <adviceBindingsConfigurations xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration" xmi:id="_PDKk6pgTEeSXtOdwR_uKBQ" name="Apply Browser" identifier="org.eclipse.papyrus.example.j2ee.browser_3018" target="_PDKkw5gTEeSXtOdwR_uKBQ">
- <stereotypesToApply xmi:id="_PDKk65gTEeSXtOdwR_uKBQ" stereotypeQualifiedName="j2ee::Browser" updateName="true">
- <requiredProfiles>j2ee</requiredProfiles>
- </stereotypesToApply>
- </adviceBindingsConfigurations>
- <adviceBindingsConfigurations xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration" xmi:id="_PDKk7JgTEeSXtOdwR_uKBQ" name="Apply Browser" identifier="org.eclipse.papyrus.example.j2ee.browser_3011" target="_PDKkxpgTEeSXtOdwR_uKBQ">
- <stereotypesToApply xmi:id="_PDKk7ZgTEeSXtOdwR_uKBQ" stereotypeQualifiedName="j2ee::Browser" updateName="true">
- <requiredProfiles>j2ee</requiredProfiles>
- </stereotypesToApply>
- </adviceBindingsConfigurations>
- <adviceBindingsConfigurations xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration" xmi:id="_PDKk7pgTEeSXtOdwR_uKBQ" name="Apply Browser" identifier="org.eclipse.papyrus.example.j2ee.browser_2011" target="_PDKkyZgTEeSXtOdwR_uKBQ">
- <stereotypesToApply xmi:id="_PDKk75gTEeSXtOdwR_uKBQ" stereotypeQualifiedName="j2ee::Browser" updateName="true">
- <requiredProfiles>j2ee</requiredProfiles>
- </stereotypesToApply>
- </adviceBindingsConfigurations>
- <adviceBindingsConfigurations xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration" xmi:id="_PDKk8JgTEeSXtOdwR_uKBQ" name="Apply Browser" identifier="org.eclipse.papyrus.example.j2ee.browser_2012" target="_PDKkzJgTEeSXtOdwR_uKBQ">
- <stereotypesToApply xmi:id="_PDKk8ZgTEeSXtOdwR_uKBQ" stereotypeQualifiedName="j2ee::Browser" updateName="true">
- <requiredProfiles>j2ee</requiredProfiles>
- </stereotypesToApply>
- </adviceBindingsConfigurations>
- <adviceBindingsConfigurations xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration" xmi:id="_PDKk8pgTEeSXtOdwR_uKBQ" name="Apply BranchPoint" identifier="org.eclipse.papyrus.example.j2ee.branchPoint_3007" target="_PDKkz5gTEeSXtOdwR_uKBQ">
- <stereotypesToApply xmi:id="_PDKk85gTEeSXtOdwR_uKBQ" stereotypeQualifiedName="j2ee::BranchPoint" updateName="true">
- <requiredProfiles>j2ee</requiredProfiles>
- </stereotypesToApply>
- </adviceBindingsConfigurations>
- <adviceBindingsConfigurations xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration" xmi:id="_PDKk9JgTEeSXtOdwR_uKBQ" name="Apply BranchPoint" identifier="org.eclipse.papyrus.example.j2ee.branchPoint_3008" target="_PDKk0pgTEeSXtOdwR_uKBQ">
- <stereotypesToApply xmi:id="_PDKk9ZgTEeSXtOdwR_uKBQ" stereotypeQualifiedName="j2ee::BranchPoint" updateName="true">
- <requiredProfiles>j2ee</requiredProfiles>
- </stereotypesToApply>
- </adviceBindingsConfigurations>
- <adviceBindingsConfigurations xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration" xmi:id="_PDKk9pgTEeSXtOdwR_uKBQ" name="Apply WebScenario" identifier="org.eclipse.papyrus.example.j2ee.webScenario_3012" target="_PDKk1ZgTEeSXtOdwR_uKBQ">
- <stereotypesToApply xmi:id="_PDKk95gTEeSXtOdwR_uKBQ" stereotypeQualifiedName="j2ee::WebScenario" updateName="true">
- <requiredProfiles>j2ee</requiredProfiles>
- </stereotypesToApply>
- </adviceBindingsConfigurations>
- <adviceBindingsConfigurations xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration" xmi:id="_PDKk-JgTEeSXtOdwR_uKBQ" name="Apply WebScenario" identifier="org.eclipse.papyrus.example.j2ee.webScenario_2013" target="_PDKk2JgTEeSXtOdwR_uKBQ">
- <stereotypesToApply xmi:id="_PDKk-ZgTEeSXtOdwR_uKBQ" stereotypeQualifiedName="j2ee::WebScenario" updateName="true">
- <requiredProfiles>j2ee</requiredProfiles>
- </stereotypesToApply>
- </adviceBindingsConfigurations>
- <adviceBindingsConfigurations xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration" xmi:id="_PDKk-pgTEeSXtOdwR_uKBQ" name="Apply WebScenario" identifier="org.eclipse.papyrus.example.j2ee.webScenario_2014" target="_PDKk25gTEeSXtOdwR_uKBQ">
- <stereotypesToApply xmi:id="_PDKk-5gTEeSXtOdwR_uKBQ" stereotypeQualifiedName="j2ee::WebScenario" updateName="true">
- <requiredProfiles>j2ee</requiredProfiles>
- </stereotypesToApply>
- </adviceBindingsConfigurations>
-</elementtypesconfigurations:ElementTypeSetConfiguration>
+<?xml version="1.0" encoding="ASCII" standalone="no"?><elementtypesconfigurations:ElementTypeSetConfiguration xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.1" xmlns:applystereotypeadviceconfiguration="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/uml/applystereotypeadvice/1.1" xmlns:stereotypeapplicationmatcherconfiguration="http://www.eclipse.org/payrus/elementtypesconfigurations/uml/stereotypematcherconfiguration/1.1" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" identifier="org.eclipse.papyrus.example.j2ee.elementTypes" metamodelNsURI="j2ee" name="j2ee" xmi:id="_PDKksJgTEeSXtOdwR_uKBQ" xmi:version="2.0">
+ <elementTypeConfigurations hint="4013" identifier="org.eclipse.papyrus.example.j2ee.Import_4013" name="Import" xmi:id="_PDKksZgTEeSXtOdwR_uKBQ" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <iconEntry bundleId="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Dependency.gif" xmi:id="_PDKkspgTEeSXtOdwR_uKBQ"/>
+ <specializedTypesID>org.eclipse.papyrus.uml.diagram.usecase.Dependency_4013</specializedTypesID>
+ <matcherConfiguration xmi:id="_PDKks5gTEeSXtOdwR_uKBQ" xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration">
+ <stereotypesQualifiedNames>j2ee::Import</stereotypesQualifiedNames>
+ </matcherConfiguration>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations hint="4011" identifier="org.eclipse.papyrus.example.j2ee.Web_4011" name="Web" xmi:id="_PDKktJgTEeSXtOdwR_uKBQ" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <iconEntry bundleId="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Association.gif" xmi:id="_PDKktZgTEeSXtOdwR_uKBQ"/>
+ <specializedTypesID>org.eclipse.papyrus.uml.diagram.usecase.Association_4011</specializedTypesID>
+ <matcherConfiguration xmi:id="_PDKktpgTEeSXtOdwR_uKBQ" xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration">
+ <stereotypesQualifiedNames>j2ee::Web</stereotypesQualifiedNames>
+ </matcherConfiguration>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations hint="3018" identifier="org.eclipse.papyrus.example.j2ee.User_3018" name="User (3018)" xmi:id="_PDKkt5gTEeSXtOdwR_uKBQ" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <iconEntry bundleId="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Actor.gif" xmi:id="_PDKkuJgTEeSXtOdwR_uKBQ"/>
+ <specializedTypesID>org.eclipse.papyrus.uml.diagram.usecase.Actor_3018</specializedTypesID>
+ <matcherConfiguration xmi:id="_PDKkuZgTEeSXtOdwR_uKBQ" xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration">
+ <stereotypesQualifiedNames>j2ee::User</stereotypesQualifiedNames>
+ </matcherConfiguration>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations hint="3011" identifier="org.eclipse.papyrus.example.j2ee.User_3011" name="User (3011)" xmi:id="_PDKkupgTEeSXtOdwR_uKBQ" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <iconEntry bundleId="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Actor.gif" xmi:id="_PDKku5gTEeSXtOdwR_uKBQ"/>
+ <specializedTypesID>org.eclipse.papyrus.uml.diagram.usecase.Actor_3011</specializedTypesID>
+ <matcherConfiguration xmi:id="_PDKkvJgTEeSXtOdwR_uKBQ" xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration">
+ <stereotypesQualifiedNames>j2ee::User</stereotypesQualifiedNames>
+ </matcherConfiguration>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations hint="2011" identifier="org.eclipse.papyrus.example.j2ee.User_2011" name="User (2011)" xmi:id="_PDKkvZgTEeSXtOdwR_uKBQ" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <iconEntry bundleId="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Actor.gif" xmi:id="_PDKkvpgTEeSXtOdwR_uKBQ"/>
+ <specializedTypesID>org.eclipse.papyrus.uml.diagram.usecase.Actor_2011</specializedTypesID>
+ <matcherConfiguration xmi:id="_PDKkv5gTEeSXtOdwR_uKBQ" xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration">
+ <stereotypesQualifiedNames>j2ee::User</stereotypesQualifiedNames>
+ </matcherConfiguration>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations hint="2012" identifier="org.eclipse.papyrus.example.j2ee.User_2012" name="User (2012)" xmi:id="_PDKkwJgTEeSXtOdwR_uKBQ" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <iconEntry bundleId="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Actor.gif" xmi:id="_PDKkwZgTEeSXtOdwR_uKBQ"/>
+ <specializedTypesID>org.eclipse.papyrus.uml.diagram.usecase.Actor_2012</specializedTypesID>
+ <matcherConfiguration xmi:id="_PDKkwpgTEeSXtOdwR_uKBQ" xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration">
+ <stereotypesQualifiedNames>j2ee::User</stereotypesQualifiedNames>
+ </matcherConfiguration>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations hint="3018" identifier="org.eclipse.papyrus.example.j2ee.Browser_3018" name="Browser (3018)" xmi:id="_PDKkw5gTEeSXtOdwR_uKBQ" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <iconEntry bundleId="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Actor.gif" xmi:id="_PDKkxJgTEeSXtOdwR_uKBQ"/>
+ <specializedTypesID>org.eclipse.papyrus.uml.diagram.usecase.Actor_3018</specializedTypesID>
+ <matcherConfiguration xmi:id="_PDKkxZgTEeSXtOdwR_uKBQ" xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration">
+ <stereotypesQualifiedNames>j2ee::Browser</stereotypesQualifiedNames>
+ </matcherConfiguration>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations hint="3011" identifier="org.eclipse.papyrus.example.j2ee.Browser_3011" name="Browser (3011)" xmi:id="_PDKkxpgTEeSXtOdwR_uKBQ" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <iconEntry bundleId="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Actor.gif" xmi:id="_PDKkx5gTEeSXtOdwR_uKBQ"/>
+ <specializedTypesID>org.eclipse.papyrus.uml.diagram.usecase.Actor_3011</specializedTypesID>
+ <matcherConfiguration xmi:id="_PDKkyJgTEeSXtOdwR_uKBQ" xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration">
+ <stereotypesQualifiedNames>j2ee::Browser</stereotypesQualifiedNames>
+ </matcherConfiguration>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations hint="2011" identifier="org.eclipse.papyrus.example.j2ee.Browser_2011" name="Browser (2011)" xmi:id="_PDKkyZgTEeSXtOdwR_uKBQ" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <iconEntry bundleId="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Actor.gif" xmi:id="_PDKkypgTEeSXtOdwR_uKBQ"/>
+ <specializedTypesID>org.eclipse.papyrus.uml.diagram.usecase.Actor_2011</specializedTypesID>
+ <matcherConfiguration xmi:id="_PDKky5gTEeSXtOdwR_uKBQ" xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration">
+ <stereotypesQualifiedNames>j2ee::Browser</stereotypesQualifiedNames>
+ </matcherConfiguration>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations hint="2012" identifier="org.eclipse.papyrus.example.j2ee.Browser_2012" name="Browser (2012)" xmi:id="_PDKkzJgTEeSXtOdwR_uKBQ" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <iconEntry bundleId="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Actor.gif" xmi:id="_PDKkzZgTEeSXtOdwR_uKBQ"/>
+ <specializedTypesID>org.eclipse.papyrus.uml.diagram.usecase.Actor_2012</specializedTypesID>
+ <matcherConfiguration xmi:id="_PDKkzpgTEeSXtOdwR_uKBQ" xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration">
+ <stereotypesQualifiedNames>j2ee::Browser</stereotypesQualifiedNames>
+ </matcherConfiguration>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations hint="3007" identifier="org.eclipse.papyrus.example.j2ee.BranchPoint_3007" name="BranchPoint (3007)" xmi:id="_PDKkz5gTEeSXtOdwR_uKBQ" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <iconEntry bundleId="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/ExtensionPoint.gif" xmi:id="_PDKk0JgTEeSXtOdwR_uKBQ"/>
+ <specializedTypesID>org.eclipse.papyrus.uml.diagram.usecase.ExtensionPoint_3007</specializedTypesID>
+ <matcherConfiguration xmi:id="_PDKk0ZgTEeSXtOdwR_uKBQ" xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration">
+ <stereotypesQualifiedNames>j2ee::BranchPoint</stereotypesQualifiedNames>
+ </matcherConfiguration>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations hint="3008" identifier="org.eclipse.papyrus.example.j2ee.BranchPoint_3008" name="BranchPoint (3008)" xmi:id="_PDKk0pgTEeSXtOdwR_uKBQ" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <iconEntry bundleId="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/ExtensionPoint.gif" xmi:id="_PDKk05gTEeSXtOdwR_uKBQ"/>
+ <specializedTypesID>org.eclipse.papyrus.uml.diagram.usecase.ExtensionPoint_3008</specializedTypesID>
+ <matcherConfiguration xmi:id="_PDKk1JgTEeSXtOdwR_uKBQ" xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration">
+ <stereotypesQualifiedNames>j2ee::BranchPoint</stereotypesQualifiedNames>
+ </matcherConfiguration>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations hint="3012" identifier="org.eclipse.papyrus.example.j2ee.WebScenario_3012" name="WebScenario (3012)" xmi:id="_PDKk1ZgTEeSXtOdwR_uKBQ" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <iconEntry bundleId="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/UseCase.gif" xmi:id="_PDKk1pgTEeSXtOdwR_uKBQ"/>
+ <specializedTypesID>org.eclipse.papyrus.uml.diagram.usecase.UseCase_3012</specializedTypesID>
+ <matcherConfiguration xmi:id="_PDKk15gTEeSXtOdwR_uKBQ" xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration">
+ <stereotypesQualifiedNames>j2ee::WebScenario</stereotypesQualifiedNames>
+ </matcherConfiguration>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations hint="2013" identifier="org.eclipse.papyrus.example.j2ee.WebScenario_2013" name="WebScenario (2013)" xmi:id="_PDKk2JgTEeSXtOdwR_uKBQ" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <iconEntry bundleId="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/UseCase.gif" xmi:id="_PDKk2ZgTEeSXtOdwR_uKBQ"/>
+ <specializedTypesID>org.eclipse.papyrus.uml.diagram.usecase.UseCase_2013</specializedTypesID>
+ <matcherConfiguration xmi:id="_PDKk2pgTEeSXtOdwR_uKBQ" xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration">
+ <stereotypesQualifiedNames>j2ee::WebScenario</stereotypesQualifiedNames>
+ </matcherConfiguration>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations hint="2014" identifier="org.eclipse.papyrus.example.j2ee.WebScenario_2014" name="WebScenario (2014)" xmi:id="_PDKk25gTEeSXtOdwR_uKBQ" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <iconEntry bundleId="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/UseCase.gif" xmi:id="_PDKk3JgTEeSXtOdwR_uKBQ"/>
+ <specializedTypesID>org.eclipse.papyrus.uml.diagram.usecase.UseCase_2014</specializedTypesID>
+ <matcherConfiguration xmi:id="_PDKk3ZgTEeSXtOdwR_uKBQ" xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration">
+ <stereotypesQualifiedNames>j2ee::WebScenario</stereotypesQualifiedNames>
+ </matcherConfiguration>
+ </elementTypeConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.example.j2ee.import_4013" target="_PDKksZgTEeSXtOdwR_uKBQ" xmi:id="_PDKk3pgTEeSXtOdwR_uKBQ" xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="j2ee::Import" updateName="true" xmi:id="_PDKk35gTEeSXtOdwR_uKBQ">
+ <requiredProfiles>j2ee</requiredProfiles>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.example.j2ee.web_4011" target="_PDKktJgTEeSXtOdwR_uKBQ" xmi:id="_PDKk4JgTEeSXtOdwR_uKBQ" xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="j2ee::Web" updateName="true" xmi:id="_PDKk4ZgTEeSXtOdwR_uKBQ">
+ <requiredProfiles>j2ee</requiredProfiles>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.example.j2ee.user_3018" target="_PDKkt5gTEeSXtOdwR_uKBQ" xmi:id="_PDKk4pgTEeSXtOdwR_uKBQ" xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="j2ee::User" updateName="true" xmi:id="_PDKk45gTEeSXtOdwR_uKBQ">
+ <requiredProfiles>j2ee</requiredProfiles>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.example.j2ee.user_3011" target="_PDKkupgTEeSXtOdwR_uKBQ" xmi:id="_PDKk5JgTEeSXtOdwR_uKBQ" xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="j2ee::User" updateName="true" xmi:id="_PDKk5ZgTEeSXtOdwR_uKBQ">
+ <requiredProfiles>j2ee</requiredProfiles>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.example.j2ee.user_2011" target="_PDKkvZgTEeSXtOdwR_uKBQ" xmi:id="_PDKk5pgTEeSXtOdwR_uKBQ" xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="j2ee::User" updateName="true" xmi:id="_PDKk55gTEeSXtOdwR_uKBQ">
+ <requiredProfiles>j2ee</requiredProfiles>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.example.j2ee.user_2012" target="_PDKkwJgTEeSXtOdwR_uKBQ" xmi:id="_PDKk6JgTEeSXtOdwR_uKBQ" xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="j2ee::User" updateName="true" xmi:id="_PDKk6ZgTEeSXtOdwR_uKBQ">
+ <requiredProfiles>j2ee</requiredProfiles>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.example.j2ee.browser_3018" target="_PDKkw5gTEeSXtOdwR_uKBQ" xmi:id="_PDKk6pgTEeSXtOdwR_uKBQ" xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="j2ee::Browser" updateName="true" xmi:id="_PDKk65gTEeSXtOdwR_uKBQ">
+ <requiredProfiles>j2ee</requiredProfiles>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.example.j2ee.browser_3011" target="_PDKkxpgTEeSXtOdwR_uKBQ" xmi:id="_PDKk7JgTEeSXtOdwR_uKBQ" xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="j2ee::Browser" updateName="true" xmi:id="_PDKk7ZgTEeSXtOdwR_uKBQ">
+ <requiredProfiles>j2ee</requiredProfiles>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.example.j2ee.browser_2011" target="_PDKkyZgTEeSXtOdwR_uKBQ" xmi:id="_PDKk7pgTEeSXtOdwR_uKBQ" xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="j2ee::Browser" updateName="true" xmi:id="_PDKk75gTEeSXtOdwR_uKBQ">
+ <requiredProfiles>j2ee</requiredProfiles>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.example.j2ee.browser_2012" target="_PDKkzJgTEeSXtOdwR_uKBQ" xmi:id="_PDKk8JgTEeSXtOdwR_uKBQ" xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="j2ee::Browser" updateName="true" xmi:id="_PDKk8ZgTEeSXtOdwR_uKBQ">
+ <requiredProfiles>j2ee</requiredProfiles>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.example.j2ee.branchPoint_3007" target="_PDKkz5gTEeSXtOdwR_uKBQ" xmi:id="_PDKk8pgTEeSXtOdwR_uKBQ" xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="j2ee::BranchPoint" updateName="true" xmi:id="_PDKk85gTEeSXtOdwR_uKBQ">
+ <requiredProfiles>j2ee</requiredProfiles>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.example.j2ee.branchPoint_3008" target="_PDKk0pgTEeSXtOdwR_uKBQ" xmi:id="_PDKk9JgTEeSXtOdwR_uKBQ" xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="j2ee::BranchPoint" updateName="true" xmi:id="_PDKk9ZgTEeSXtOdwR_uKBQ">
+ <requiredProfiles>j2ee</requiredProfiles>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.example.j2ee.webScenario_3012" target="_PDKk1ZgTEeSXtOdwR_uKBQ" xmi:id="_PDKk9pgTEeSXtOdwR_uKBQ" xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="j2ee::WebScenario" updateName="true" xmi:id="_PDKk95gTEeSXtOdwR_uKBQ">
+ <requiredProfiles>j2ee</requiredProfiles>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.example.j2ee.webScenario_2013" target="_PDKk2JgTEeSXtOdwR_uKBQ" xmi:id="_PDKk-JgTEeSXtOdwR_uKBQ" xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="j2ee::WebScenario" updateName="true" xmi:id="_PDKk-ZgTEeSXtOdwR_uKBQ">
+ <requiredProfiles>j2ee</requiredProfiles>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.example.j2ee.webScenario_2014" target="_PDKk25gTEeSXtOdwR_uKBQ" xmi:id="_PDKk-pgTEeSXtOdwR_uKBQ" xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="j2ee::WebScenario" updateName="true" xmi:id="_PDKk-5gTEeSXtOdwR_uKBQ">
+ <requiredProfiles>j2ee</requiredProfiles>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+</elementtypesconfigurations:ElementTypeSetConfiguration> \ No newline at end of file
diff --git a/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/models/TestExpansionDiagram.elementtypesconfigurations b/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/models/TestExpansionDiagram.elementtypesconfigurations
index 18efeb4b0d9..41dc1093548 100644
--- a/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/models/TestExpansionDiagram.elementtypesconfigurations
+++ b/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common.tests/models/TestExpansionDiagram.elementtypesconfigurations
@@ -1,47 +1,14 @@
-<?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.0"
- xmi:id="_rWI4YHPzEeSnGJwaJWHCSg"
- name="TestExpansionDiagram"
- identifier="TestExpansionDiagram"
- metamodelNsURI="http://www.eclipse.org/uml2/5.0.0/UML">
- <elementTypeConfigurations
- xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"
- xmi:id="_rWNxVHPzEeSnGJwaJWHCSg"
- name="Interface"
- identifier="org.eclipse.papyrus.uml.diagram.testexpansion.Interface_Label"
- hint="Interface_Label">
- <iconEntry
- xmi:id="_rWNxVXPzEeSnGJwaJWHCSg"
- iconPath="/icons/full/obj16/Interface.gif"
- bundleId="org.eclipse.uml2.uml.edit"/>
- <specializedTypesID>org.eclipse.papyrus.uml.Interface</specializedTypesID>
- </elementTypeConfigurations>
- <elementTypeConfigurations
- xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"
- xmi:id="_C-1XION1EeSPY_4fjIBntw"
- name="Interface"
- identifier="org.eclipse.papyrus.uml.diagram.testexpansion.Interface_BorderItem"
- hint="Interface_BorderItem">
- <iconEntry
- xmi:id="_C-1XIeN1EeSPY_4fjIBntw"
- iconPath="/icons/full/obj16/Interface.gif"
- bundleId="org.eclipse.uml2.uml.edit"/>
- <specializedTypesID>org.eclipse.papyrus.uml.Interface</specializedTypesID>
- </elementTypeConfigurations>
- <elementTypeConfigurations
- xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"
- xmi:id="_Tm5Y0PPMEeSh3rAaWaQzhQ"
- name="Dependency"
- identifier="org.eclipse.papyrus.uml.diagram.testexpansion.Dependency_Link"
- hint="Dependency_Link">
- <iconEntry
- xmi:id="_Tm5Y0fPMEeSh3rAaWaQzhQ"
- iconPath="/icons/full/obj16/Interface.gif"
- bundleId="org.eclipse.uml2.uml.edit"/>
- <specializedTypesID>org.eclipse.papyrus.uml.Dependency</specializedTypesID>
- </elementTypeConfigurations>
-</elementtypesconfigurations:ElementTypeSetConfiguration>
+<?xml version="1.0" encoding="ASCII" standalone="no"?><elementtypesconfigurations:ElementTypeSetConfiguration xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.1" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" identifier="TestExpansionDiagram" metamodelNsURI="http://www.eclipse.org/uml2/5.0.0/UML" name="TestExpansionDiagram" xmi:id="_rWI4YHPzEeSnGJwaJWHCSg" xmi:version="2.0">
+ <elementTypeConfigurations hint="Interface_Label" identifier="org.eclipse.papyrus.uml.diagram.testexpansion.Interface_Label" name="Interface" xmi:id="_rWNxVHPzEeSnGJwaJWHCSg" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <iconEntry bundleId="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Interface.gif" xmi:id="_rWNxVXPzEeSnGJwaJWHCSg"/>
+ <specializedTypesID>org.eclipse.papyrus.uml.Interface</specializedTypesID>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations hint="Interface_BorderItem" identifier="org.eclipse.papyrus.uml.diagram.testexpansion.Interface_BorderItem" name="Interface" xmi:id="_C-1XION1EeSPY_4fjIBntw" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <iconEntry bundleId="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Interface.gif" xmi:id="_C-1XIeN1EeSPY_4fjIBntw"/>
+ <specializedTypesID>org.eclipse.papyrus.uml.Interface</specializedTypesID>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations hint="Dependency_Link" identifier="org.eclipse.papyrus.uml.diagram.testexpansion.Dependency_Link" name="Dependency" xmi:id="_Tm5Y0PPMEeSh3rAaWaQzhQ" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <iconEntry bundleId="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Interface.gif" xmi:id="_Tm5Y0fPMEeSh3rAaWaQzhQ"/>
+ <specializedTypesID>org.eclipse.papyrus.uml.Dependency</specializedTypesID>
+ </elementTypeConfigurations>
+</elementtypesconfigurations:ElementTypeSetConfiguration> \ No newline at end of file
diff --git a/tests/junit/plugins/uml/assistants/org.eclipse.papyrus.uml.profile.elementtypesconfigurations.generator.tests/src/org/eclipse/papyrus/uml/profile/elementtypesconfigurations/generator/tests/ModelGenFixture.java b/tests/junit/plugins/uml/assistants/org.eclipse.papyrus.uml.profile.elementtypesconfigurations.generator.tests/src/org/eclipse/papyrus/uml/profile/elementtypesconfigurations/generator/tests/ModelGenFixture.java
index f6a53644139..d384e45625b 100644
--- a/tests/junit/plugins/uml/assistants/org.eclipse.papyrus.uml.profile.elementtypesconfigurations.generator.tests/src/org/eclipse/papyrus/uml/profile/elementtypesconfigurations/generator/tests/ModelGenFixture.java
+++ b/tests/junit/plugins/uml/assistants/org.eclipse.papyrus.uml.profile.elementtypesconfigurations.generator.tests/src/org/eclipse/papyrus/uml/profile/elementtypesconfigurations/generator/tests/ModelGenFixture.java
@@ -31,10 +31,10 @@ import java.util.regex.Pattern;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceBindingConfiguration;
+import org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractAdviceBindingConfiguration;
+import org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractMatcherConfiguration;
import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration;
import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeSetConfiguration;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.MatcherConfiguration;
import org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration;
import org.eclipse.papyrus.infra.elementtypesconfigurations.registries.ElementTypeSetConfigurationRegistry;
import org.eclipse.papyrus.junit.utils.JUnitUtils;
@@ -190,30 +190,30 @@ public class ModelGenFixture extends ResourceSetFixture {
}
public StereotypeApplicationMatcherConfiguration assertStereotypeMatcher(SpecializationTypeConfiguration specializationType) {
- MatcherConfiguration result = specializationType.getMatcherConfiguration();
+ AbstractMatcherConfiguration result = specializationType.getMatcherConfiguration();
assertThat("not a stereotype matcher", result, instanceOf(StereotypeApplicationMatcherConfiguration.class));
return (StereotypeApplicationMatcherConfiguration) result;
}
public void assertNoStereotypeMatcher(SpecializationTypeConfiguration specializationType) {
- MatcherConfiguration matcher = specializationType.getMatcherConfiguration();
+ AbstractMatcherConfiguration matcher = specializationType.getMatcherConfiguration();
assertThat("has a stereotype matcher", matcher, not(instanceOf(StereotypeApplicationMatcherConfiguration.class)));
}
- public <C extends AdviceBindingConfiguration> C getAdviceBindingConfiguration(Pair<Stereotype, org.eclipse.uml2.uml.Class> metaclassExtension, Class<C> type) {
- AdviceBindingConfiguration result = getAdviceBindingConfiguration(metaclassExtension);
+ public <C extends AbstractAdviceBindingConfiguration> C getAdviceBindingConfiguration(Pair<Stereotype, org.eclipse.uml2.uml.Class> metaclassExtension, Class<C> type) {
+ AbstractAdviceBindingConfiguration result = getAdviceBindingConfiguration(metaclassExtension);
assertThat("not a " + type.getSimpleName(), result, instanceOf(type));
return type.cast(result);
}
- public AdviceBindingConfiguration getAdviceBindingConfiguration(Pair<Stereotype, org.eclipse.uml2.uml.Class> metaclassExtension) {
+ public AbstractAdviceBindingConfiguration getAdviceBindingConfiguration(Pair<Stereotype, org.eclipse.uml2.uml.Class> metaclassExtension) {
return getAdviceBindingConfiguration(getElementTypeID(metaclassExtension, true));
}
- public AdviceBindingConfiguration getAdviceBindingConfiguration(String id) {
- AdviceBindingConfiguration result = null;
+ public AbstractAdviceBindingConfiguration getAdviceBindingConfiguration(String id) {
+ AbstractAdviceBindingConfiguration result = null;
- for (AdviceBindingConfiguration next : getElementTypeSet().getAdviceBindingsConfigurations()) {
+ for (AbstractAdviceBindingConfiguration next : getElementTypeSet().getAdviceBindingsConfigurations()) {
if (id.equals(next.getIdentifier())) {
result = next;
break;
@@ -223,23 +223,23 @@ public class ModelGenFixture extends ResourceSetFixture {
return result;
}
- public <C extends AdviceBindingConfiguration> List<C> getAllAdviceBindingConfigurations(Pair<Stereotype, org.eclipse.uml2.uml.Class> metaclassExtension, Class<C> type) {
- List<AdviceBindingConfiguration> result = getAllAdviceBindingConfigurations(metaclassExtension);
- assertThat("not " + type.getSimpleName(), result, everyItem(CoreMatchers.<AdviceBindingConfiguration> instanceOf(type)));
+ public <C extends AbstractAdviceBindingConfiguration> List<C> getAllAdviceBindingConfigurations(Pair<Stereotype, org.eclipse.uml2.uml.Class> metaclassExtension, Class<C> type) {
+ List<AbstractAdviceBindingConfiguration> result = getAllAdviceBindingConfigurations(metaclassExtension);
+ assertThat("not " + type.getSimpleName(), result, everyItem(CoreMatchers.<AbstractAdviceBindingConfiguration> instanceOf(type)));
@SuppressWarnings("unchecked")
List<C> resultAsC = (List<C>) result;
return resultAsC;
}
- public List<AdviceBindingConfiguration> getAllAdviceBindingConfigurations(Pair<Stereotype, org.eclipse.uml2.uml.Class> metaclassExtension) {
+ public List<AbstractAdviceBindingConfiguration> getAllAdviceBindingConfigurations(Pair<Stereotype, org.eclipse.uml2.uml.Class> metaclassExtension) {
return getAllAdviceBindingConfigurations(Pattern.compile(String.format("%s($|_\\w+)", Pattern.quote(getElementTypeID(metaclassExtension, true)))));
}
- public List<AdviceBindingConfiguration> getAllAdviceBindingConfigurations(Pattern idPattern) {
- List<AdviceBindingConfiguration> result = Lists.newArrayListWithExpectedSize(3);
+ public List<AbstractAdviceBindingConfiguration> getAllAdviceBindingConfigurations(Pattern idPattern) {
+ List<AbstractAdviceBindingConfiguration> result = Lists.newArrayListWithExpectedSize(3);
- for (AdviceBindingConfiguration next : getElementTypeSet().getAdviceBindingsConfigurations()) {
+ for (AbstractAdviceBindingConfiguration next : getElementTypeSet().getAdviceBindingsConfigurations()) {
if (idPattern.matcher(next.getIdentifier()).find()) {
result.add(next);
}
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.paletteconfiguration.tests/resources/FakeProfile.elementtypesconfigurations b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.paletteconfiguration.tests/resources/FakeProfile.elementtypesconfigurations
index fc0db65c2a3..70ad583db68 100644
--- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.paletteconfiguration.tests/resources/FakeProfile.elementtypesconfigurations
+++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.paletteconfiguration.tests/resources/FakeProfile.elementtypesconfigurations
@@ -1,42 +1,14 @@
-<?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:applystereotypeadviceconfiguration="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/uml/applystereotypeadvice/1.0"
- xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.0"
- xmlns:stereotypeapplicationmatcherconfiguration="http://www.eclipse.org/payrus/elementtypesconfigurations/uml/stereotypematcherconfiguration"
- xmi:id="_ubJcsKeUEeSUR5jX0TaAcA"
- name="FakeProfile"
- description="Element types configuration for test palette configuration plugin"
- identifier="org.eclipse.papyrus.uml.diagram.paletteconfiguration.tests.FakeProfile"
- metamodelNsURI="http://www.eclipse.org/uml2/5.0.0/UML">
- <elementTypeConfigurations
- xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"
- xmi:id="_ubJcsaeUEeSUR5jX0TaAcA"
- name="FakeClass"
- identifier="org.eclipse.papyrus.uml.diagram.paletteconfiguration.fake.tests">
- <iconEntry
- xmi:id="_ubJcsqeUEeSUR5jX0TaAcA"
- iconPath="/icons/full/obj16/Class.gif"
- bundleId="org.eclipse.uml2.uml.edit"/>
- <specializedTypesID>org.eclipse.papyrus.uml.Class</specializedTypesID>
- <matcherConfiguration
- xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration"
- xmi:id="_ubJcs6eUEeSUR5jX0TaAcA">
- <stereotypesQualifiedNames>FakeProfile::FakeSto</stereotypesQualifiedNames>
- </matcherConfiguration>
- </elementTypeConfigurations>
- <adviceBindingsConfigurations
- xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration"
- xmi:id="_ubJcyaeUEeSUR5jX0TaAcA"
- name="Apply Fake"
- identifier="org.eclipse.papyrus.uml.paletteconfiguration.tests.fakeadvice"
- target="_ubJcsaeUEeSUR5jX0TaAcA">
- <stereotypesToApply
- xmi:id="_ubJcyqeUEeSUR5jX0TaAcA"
- stereotypeQualifiedName="FakeProfile::FakeSto">
- <requiredProfiles>FakeProfile</requiredProfiles>
- </stereotypesToApply>
- </adviceBindingsConfigurations>
-</elementtypesconfigurations:ElementTypeSetConfiguration>
+<?xml version="1.0" encoding="ASCII" standalone="no"?><elementtypesconfigurations:ElementTypeSetConfiguration xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.1" xmlns:applystereotypeadviceconfiguration="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/uml/applystereotypeadvice/1.1" xmlns:stereotypeapplicationmatcherconfiguration="http://www.eclipse.org/payrus/elementtypesconfigurations/uml/stereotypematcherconfiguration/1.1" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" description="Element types configuration for test palette configuration plugin" identifier="org.eclipse.papyrus.uml.diagram.paletteconfiguration.tests.FakeProfile" metamodelNsURI="http://www.eclipse.org/uml2/5.0.0/UML" name="FakeProfile" xmi:id="_ubJcsKeUEeSUR5jX0TaAcA" xmi:version="2.0">
+ <elementTypeConfigurations identifier="org.eclipse.papyrus.uml.diagram.paletteconfiguration.fake.tests" name="FakeClass" xmi:id="_ubJcsaeUEeSUR5jX0TaAcA" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <iconEntry bundleId="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Class.gif" xmi:id="_ubJcsqeUEeSUR5jX0TaAcA"/>
+ <specializedTypesID>org.eclipse.papyrus.uml.Class</specializedTypesID>
+ <matcherConfiguration xmi:id="_ubJcs6eUEeSUR5jX0TaAcA" xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration">
+ <stereotypesQualifiedNames>FakeProfile::FakeSto</stereotypesQualifiedNames>
+ </matcherConfiguration>
+ </elementTypeConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.uml.paletteconfiguration.tests.fakeadvice" target="_ubJcsaeUEeSUR5jX0TaAcA" xmi:id="_ubJcyaeUEeSUR5jX0TaAcA" xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="FakeProfile::FakeSto" xmi:id="_ubJcyqeUEeSUR5jX0TaAcA">
+ <requiredProfiles>FakeProfile</requiredProfiles>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+</elementtypesconfigurations:ElementTypeSetConfiguration> \ No newline at end of file
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.paletteconfiguration.tests/resources/TestPalette.elementtypesconfigurations b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.paletteconfiguration.tests/resources/TestPalette.elementtypesconfigurations
index 4ba0f0e10c6..70aeb3406d9 100644
--- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.paletteconfiguration.tests/resources/TestPalette.elementtypesconfigurations
+++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.paletteconfiguration.tests/resources/TestPalette.elementtypesconfigurations
@@ -1,42 +1,14 @@
-<?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:applystereotypeadviceconfiguration="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/uml/applystereotypeadvice/1.0"
- xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.0"
- xmlns:stereotypeapplicationmatcherconfiguration="http://www.eclipse.org/payrus/elementtypesconfigurations/uml/stereotypematcherconfiguration"
- xmi:id="_ubJcsKeUEeSUR5jX0TaAcA"
- name="TestPaletteConfiguration"
- description="Element types configuration for test palette configuration plugin"
- identifier="org.eclipse.papyrus.uml.diagram.paletteconfiguration.tests.TestPaletteConfiguration"
- metamodelNsURI="http://www.eclipse.org/uml2/5.0.0/UML">
- <elementTypeConfigurations
- xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"
- xmi:id="_ubJcsaeUEeSUR5jX0TaAcA"
- name="ClassWithStoOnClass"
- identifier="org.eclipse.papyrus.uml.diagram.paletteconfiguration.tests">
- <iconEntry
- xmi:id="_ubJcsqeUEeSUR5jX0TaAcA"
- iconPath="/icons/full/obj16/Class.gif"
- bundleId="org.eclipse.uml2.uml.edit"/>
- <specializedTypesID>org.eclipse.papyrus.uml.Class</specializedTypesID>
- <matcherConfiguration
- xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration"
- xmi:id="_ubJcs6eUEeSUR5jX0TaAcA">
- <stereotypesQualifiedNames>TestPaletteConfiguration::TPC_StoOnClass</stereotypesQualifiedNames>
- </matcherConfiguration>
- </elementTypeConfigurations>
- <adviceBindingsConfigurations
- xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration"
- xmi:id="_ubJcyaeUEeSUR5jX0TaAcA"
- name="Apply StoOnClass"
- identifier="org.eclipse.papyrus.uml.paletteconfiguration.tests.advice"
- target="_ubJcsaeUEeSUR5jX0TaAcA">
- <stereotypesToApply
- xmi:id="_ubJcyqeUEeSUR5jX0TaAcA"
- stereotypeQualifiedName="TestPaletteConfiguration::TPC_StoOnClass">
- <requiredProfiles>TestPaletteConfiguration</requiredProfiles>
- </stereotypesToApply>
- </adviceBindingsConfigurations>
-</elementtypesconfigurations:ElementTypeSetConfiguration>
+<?xml version="1.0" encoding="ASCII" standalone="no"?><elementtypesconfigurations:ElementTypeSetConfiguration xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.1" xmlns:applystereotypeadviceconfiguration="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/uml/applystereotypeadvice/1.1" xmlns:stereotypeapplicationmatcherconfiguration="http://www.eclipse.org/payrus/elementtypesconfigurations/uml/stereotypematcherconfiguration/1.1" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" description="Element types configuration for test palette configuration plugin" identifier="org.eclipse.papyrus.uml.diagram.paletteconfiguration.tests.TestPaletteConfiguration" metamodelNsURI="http://www.eclipse.org/uml2/5.0.0/UML" name="TestPaletteConfiguration" xmi:id="_ubJcsKeUEeSUR5jX0TaAcA" xmi:version="2.0">
+ <elementTypeConfigurations identifier="org.eclipse.papyrus.uml.diagram.paletteconfiguration.tests" name="ClassWithStoOnClass" xmi:id="_ubJcsaeUEeSUR5jX0TaAcA" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <iconEntry bundleId="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Class.gif" xmi:id="_ubJcsqeUEeSUR5jX0TaAcA"/>
+ <specializedTypesID>org.eclipse.papyrus.uml.Class</specializedTypesID>
+ <matcherConfiguration xmi:id="_ubJcs6eUEeSUR5jX0TaAcA" xsi:type="stereotypeapplicationmatcherconfiguration:StereotypeApplicationMatcherConfiguration">
+ <stereotypesQualifiedNames>TestPaletteConfiguration::TPC_StoOnClass</stereotypesQualifiedNames>
+ </matcherConfiguration>
+ </elementTypeConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.uml.paletteconfiguration.tests.advice" target="_ubJcsaeUEeSUR5jX0TaAcA" xmi:id="_ubJcyaeUEeSUR5jX0TaAcA" xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="TestPaletteConfiguration::TPC_StoOnClass" xmi:id="_ubJcyqeUEeSUR5jX0TaAcA">
+ <requiredProfiles>TestPaletteConfiguration</requiredProfiles>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+</elementtypesconfigurations:ElementTypeSetConfiguration> \ No newline at end of file

Back to the top