Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/elementtypetest.elementtypesconfigurations')
-rw-r--r--tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/elementtypetest.elementtypesconfigurations108
1 files changed, 108 insertions, 0 deletions
diff --git a/tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/elementtypetest.elementtypesconfigurations b/tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/elementtypetest.elementtypesconfigurations
new file mode 100644
index 00000000000..903c3db5554
--- /dev/null
+++ b/tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/elementtypetest.elementtypesconfigurations
@@ -0,0 +1,108 @@
+<?xml version="1.0" encoding="ASCII" standalone="no"?><elementtypesconfigurations:ElementTypeSetConfiguration xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.1" xmlns:applystereotypeadvice="http://www.eclipse.org/papyrus/uml/types/applystereotypeadvice/1.1" xmlns:invariantcontainerrule="http://www.eclipse.org/papyrus/emf/types/invariantcontainerrule/1.1" xmlns:invariantstereotyperule="http://www.eclipse.org/papyrus/uml/types/invariantstereotyperule/1.1" xmlns:rulebased="http://www.eclipse.org/papyrus/infra/types/rulebased/1.1" xmlns:setvaluesadvice="http://www.eclipse.org/papyrus/emf/types/setvaluesadvice/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.types.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.types.tests.specificcomponent" name="Component in specific package only" xmi:id="_JIwuQLg9EeS0cu6lbJ9jDQ" xsi:type="rulebased:RuleBasedTypeConfiguration">
+ <iconEntry bundleId="org.eclipse.ui" iconPath="icons/full/obj16/add_obj.gif" xmi:id="_FW5wwLg-EeS0cu6lbJ9jDQ"/>
+ <specializedTypesID>org.eclipse.papyrus.uml.Component</specializedTypesID>
+ <ruleConfiguration xmi:id="_N9YeYLg-EeS0cu6lbJ9jDQ" xsi:type="invariantcontainerrule:InvariantContainerRuleConfiguration">
+ <permissions containerType="org.eclipse.papyrus.uml.Package" xmi:id="_Ow-egLg-EeS0cu6lbJ9jDQ"/>
+ <permissions containerType="org.eclipse.papyrus.infra.types.tests.packagewithcomponentsonly" permitted="true" strict="true" xmi:id="_QsZCULg-EeS0cu6lbJ9jDQ"/>
+ </ruleConfiguration>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations description="Package that can contain only components" hint="ElementTypes" identifier="org.eclipse.papyrus.infra.types.tests.packagewithcomponentsonly" name="PackageWithComponentsOnly" xmi:id="_Zn1TULg-EeS0cu6lbJ9jDQ" xsi:type="rulebased:RuleBasedTypeConfiguration">
+ <specializedTypesID>org.eclipse.papyrus.uml.Package</specializedTypesID>
+ <ruleConfiguration requiredProfile="" stereotypeQualifiedName="ElementTypesTestsProfile::PackageWithComponents" xmi:id="_mzVEQLg-EeS0cu6lbJ9jDQ" xsi:type="invariantstereotyperule:InvariantStereotypeRuleConfiguration"/>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations description="Semantic element type to create abstract classes" hint="Abstract Class Creation Action" identifier="org.eclipse.papyrus.infra.types.tests.aspectabstractclass" name="Abstract Class Creation Action" xmi:id="_mhW74My1EeS2aYvfnAB4ZA" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <specializedTypesID>org.eclipse.papyrus.uml.Class</specializedTypesID>
+ <matcherConfiguration matcherClassName="org.eclipse.gmf.runtime.emf.type.core.NullElementMatcher" xmi:id="_qI4JwNLXEeSAkKOodzTEYg" xsi:type="elementtypesconfigurations:MatcherConfiguration"/>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations description="Test elementTypeConfigurations" hint="ElementElementTypeConfigurations" identifier="org.eclipse.papyrus.infra.types.tests.classSimpleStereotype" name="Class With Stereotype" xmi:id="_CSBmcMy2EeS2aYvfnAB4ZA" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <specializedTypesID>org.eclipse.papyrus.uml.Class</specializedTypesID>
+ <matcherConfiguration matcherClassName="org.eclipse.gmf.runtime.emf.type.core.NullElementMatcher" xmi:id="_8kqIkNLXEeSAkKOodzTEYg" xsi:type="elementtypesconfigurations:MatcherConfiguration"/>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations description="Test elementTypeConfigurations" hint="ElementElementTypeConfigurations" identifier="org.eclipse.papyrus.infra.types.tests.classSimpleStereotypeRename" name="Package With Stereotype And Renamed" xmi:id="_5vXW8My3EeS2aYvfnAB4ZA" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <specializedTypesID>org.eclipse.papyrus.uml.Class</specializedTypesID>
+ <matcherConfiguration matcherClassName="org.eclipse.gmf.runtime.emf.type.core.NullElementMatcher" xmi:id="_8yABANLXEeSAkKOodzTEYg" xsi:type="elementtypesconfigurations:MatcherConfiguration"/>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations description="Test elementTypeConfigurations" hint="ElementElementTypeConfigurations" identifier="org.eclipse.papyrus.infra.types.tests.classSimpleStereotypeSetValues" name="Package With Stereotype And Renamed" xmi:id="_HT1okMy4EeS2aYvfnAB4ZA" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <specializedTypesID>org.eclipse.papyrus.uml.Class</specializedTypesID>
+ <matcherConfiguration matcherClassName="org.eclipse.gmf.runtime.emf.type.core.NullElementMatcher" xmi:id="_8-EHENLXEeSAkKOodzTEYg" xsi:type="elementtypesconfigurations:MatcherConfiguration"/>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations description="Test elementTypeConfigurations" hint="ElementElementTypeConfigurations" identifier="org.eclipse.papyrus.infra.types.tests.abstractclassSimpleStereotype" name="Package With Stereotype And Renamed" xmi:id="_mrg2EMy4EeS2aYvfnAB4ZA" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <specializedTypesID>org.eclipse.papyrus.infra.types.tests.aspectabstractclass</specializedTypesID>
+ <matcherConfiguration matcherClassName="org.eclipse.gmf.runtime.emf.type.core.NullElementMatcher" xmi:id="_9KgAkNLXEeSAkKOodzTEYg" xsi:type="elementtypesconfigurations:MatcherConfiguration"/>
+ </elementTypeConfigurations>
+ <adviceBindingsConfigurations description="Aspect Semantic element type to create abstract classes" identifier="org.eclipse.papyrus.infra.types.tests.aspectabstractclass.advice" target="_mhW74My1EeS2aYvfnAB4ZA" xmi:id="_6Zq8QLg_EeS0cu6lbJ9jDQ" xsi:type="setvaluesadvice:SetValuesAdviceConfiguration">
+ <featuresToSet featureName="isAbstract" xmi:id="_7FIUELg_EeS0cu6lbJ9jDQ">
+ <value xmi:id="_-d4_oLg_EeS0cu6lbJ9jDQ" xsi:type="setvaluesadvice:ConstantValue">
+ <valueInstance value="true" xmi:id="__mUnULg_EeS0cu6lbJ9jDQ" xsi:type="uml:LiteralBoolean"/>
+ </value>
+ </featuresToSet>
+ </adviceBindingsConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.infra.types.tests.classSimpleStereotype.advice" target="_CSBmcMy2EeS2aYvfnAB4ZA" xmi:id="_NEmxYLhAEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="ElementTypesTestsProfile::StereotypeWithFeaturesToSet" xmi:id="_PuEG8LhAEeS0cu6lbJ9jDQ">
+ <requiredProfiles>ElementTypesTestProfile</requiredProfiles>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.infra.types.tests.classSimpleStereotypeRename.advice" target="_5vXW8My3EeS2aYvfnAB4ZA" xmi:id="_Z3bfkMy4EeS2aYvfnAB4ZA" xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="ElementTypesTestsProfile::StereotypeWithFeaturesToSet" updateName="true" xmi:id="_Z3bfkcy4EeS2aYvfnAB4ZA">
+ <requiredProfiles>ElementTypesTestProfile</requiredProfiles>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.infra.types.tests.classSimpleStereotypeSetValues.advice" target="_HT1okMy4EeS2aYvfnAB4ZA" xmi:id="_havkELhAEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="ElementTypesTestsProfile::StereotypeWithFeaturesToSet" updateName="true" xmi:id="_vA53wLhAEeS0cu6lbJ9jDQ">
+ <requiredProfiles>ElementTypesTestsProfile</requiredProfiles>
+ <featuresToSet featureName="stringFeature" xmi:id="__E3qoLhAEeS0cu6lbJ9jDQ">
+ <value xmi:id="_DFSzILhBEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadvice:ConstantValue">
+ <valueInstance value="MyStringValue" xmi:id="_MDKGALhBEeS0cu6lbJ9jDQ" xsi:type="uml:LiteralString"/>
+ </value>
+ </featuresToSet>
+ <featuresToSet featureName="value" xmi:id="_A8odgLhBEeS0cu6lbJ9jDQ">
+ <value xmi:id="_Eb_gULhBEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadvice:ConstantValue">
+ <valueInstance value="3" xmi:id="_Gt4qcLhBEeS0cu6lbJ9jDQ" xsi:type="uml:LiteralInteger"/>
+ </value>
+ </featuresToSet>
+ <featuresToSet featureName="boolean" xmi:id="_BSTykLhBEeS0cu6lbJ9jDQ">
+ <value xmi:id="_ExAHALhBEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadvice:ConstantValue">
+ <valueInstance value="true" xmi:id="_QFRQkLhBEeS0cu6lbJ9jDQ" xsi:type="uml:LiteralBoolean"/>
+ </value>
+ </featuresToSet>
+ <featuresToSet featureName="enumeration" xmi:id="_Bm_pILhBEeS0cu6lbJ9jDQ">
+ <value xmi:id="_FFqIYLhBEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadvice:ConstantValue">
+ <valueInstance xmi:id="_VToy4LhBEeS0cu6lbJ9jDQ" xsi:type="uml:InstanceValue">
+ <instance href="ElementTypesTestsProfile.profile.uml#_T4hRALhHEeS0cu6lbJ9jDQ"/>
+ </valueInstance>
+ </value>
+ </featuresToSet>
+ <featuresToSet featureName="multiStrings" xmi:id="_B7jj4LhBEeS0cu6lbJ9jDQ">
+ <value xmi:id="_rQRXYLhDEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadvice:ListValue"/>
+ </featuresToSet>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.infra.types.tests.abstractclassSimpleStereotype.advice" target="_mrg2EMy4EeS2aYvfnAB4ZA" xmi:id="_ls9AILhAEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="ElementTypesTestsProfile::StereotypeWithFeatureToSet" xmi:id="_u0-NMLhDEeS0cu6lbJ9jDQ">
+ <requiredProfiles>ElementTypesTestsProfile</requiredProfiles>
+ <featuresToSet featureName="stringFeature" xmi:id="_6XspgLhDEeS0cu6lbJ9jDQ">
+ <value xmi:id="_7YVAELhDEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadvice:ConstantValue">
+ <valueInstance name="" value="MyOtherValue" xmi:id="_-BmvcLhDEeS0cu6lbJ9jDQ" xsi:type="uml:LiteralString"/>
+ </value>
+ </featuresToSet>
+ <featuresToSet featureName="value" xmi:id="_Bj7msLhEEeS0cu6lbJ9jDQ">
+ <value xmi:id="_Dd4x8LhEEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadvice:ConstantValue">
+ <valueInstance value="18" xmi:id="_HdrBQLhEEeS0cu6lbJ9jDQ" xsi:type="uml:LiteralInteger"/>
+ </value>
+ </featuresToSet>
+ <featuresToSet featureName="boolean" xmi:id="_CKkv8LhEEeS0cu6lbJ9jDQ">
+ <value xmi:id="_It5TALhEEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadvice:ConstantValue">
+ <valueInstance value="true" xmi:id="_JxtgcLhEEeS0cu6lbJ9jDQ" xsi:type="uml:LiteralBoolean"/>
+ </value>
+ </featuresToSet>
+ <featuresToSet featureName="enumeration" xmi:id="_CqCTILhEEeS0cu6lbJ9jDQ">
+ <value xmi:id="_LYi7YLhEEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadvice:ConstantValue">
+ <valueInstance name="" xmi:id="_NPf18LhEEeS0cu6lbJ9jDQ" xsi:type="uml:InstanceValue">
+ <instance href="ElementTypesTestsProfile.profile.uml#_T4hRALhHEeS0cu6lbJ9jDQ"/>
+ </valueInstance>
+ </value>
+ </featuresToSet>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+</elementtypesconfigurations:ElementTypeSetConfiguration> \ No newline at end of file

Back to the top