diff options
author | rschnekenbu | 2013-08-05 15:24:14 +0000 |
---|---|---|
committer | rschnekenbu | 2013-08-05 15:24:14 +0000 |
commit | a8c7e08886617513e552f0ae28aa0bd577d74cc2 (patch) | |
tree | dd2fba79050856187a5d162459174d250d2314dc /sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests | |
parent | 7930eeaf5707a5083f209d1fa0ce9c83dbad12c6 (diff) | |
download | org.eclipse.papyrus-a8c7e08886617513e552f0ae28aa0bd577d74cc2.tar.gz org.eclipse.papyrus-a8c7e08886617513e552f0ae28aa0bd577d74cc2.tar.xz org.eclipse.papyrus-a8c7e08886617513e552f0ae28aa0bd577d74cc2.zip |
First version of the module to manage profile application in different
resources
Diffstat (limited to 'sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests')
27 files changed, 1116 insertions, 0 deletions
diff --git a/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/.classpath b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/.classpath new file mode 100644 index 00000000000..ad32c83a788 --- /dev/null +++ b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/.classpath @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/> + <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> + <classpathentry kind="src" path="src"/> + <classpathentry kind="output" path="bin"/> +</classpath> diff --git a/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/.project b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/.project new file mode 100644 index 00000000000..f90bdf8616c --- /dev/null +++ b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/.project @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.uml.profile.externalresource.tests</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.ManifestBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.SchemaBuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription> diff --git a/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/.settings/org.eclipse.jdt.core.prefs b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 00000000000..c537b63063c --- /dev/null +++ b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.6 diff --git a/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/META-INF/MANIFEST.MF b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/META-INF/MANIFEST.MF new file mode 100644 index 00000000000..5f2a1b82ef1 --- /dev/null +++ b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/META-INF/MANIFEST.MF @@ -0,0 +1,15 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Profil in External Resources plugin project +Bundle-SymbolicName: org.eclipse.papyrus.uml.profile.externalresource.tests;singleton:=true +Bundle-Version: 0.10.1.qualifier +Bundle-Activator: org.eclipse.papyrus.uml.profile.externalresource.tests.Activator +Require-Bundle: org.eclipse.ui, + org.eclipse.core.runtime, + org.junit, + org.eclipse.papyrus.uml.extensionpoints, + org.eclipse.emf.ecore +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Bundle-ActivationPolicy: lazy +Export-Package: org.eclipse.papyrus.uml.profile.externalresource.tests, + org.eclipse.papyrus.uml.profile.externalresource.tests.resourceloading diff --git a/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/build.properties b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/build.properties new file mode 100644 index 00000000000..f15497ee40c --- /dev/null +++ b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/build.properties @@ -0,0 +1,6 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + resources/,\ + plugin.xml diff --git a/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/org.eclipse.papyrus.uml.profile.externalresource.tests.launch b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/org.eclipse.papyrus.uml.profile.externalresource.tests.launch new file mode 100644 index 00000000000..7c572e9f2e6 --- /dev/null +++ b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/org.eclipse.papyrus.uml.profile.externalresource.tests.launch @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<launchConfiguration type="org.eclipse.pde.ui.JunitLaunchConfig"> +<booleanAttribute key="append.args" value="true"/> +<booleanAttribute key="askclear" value="false"/> +<booleanAttribute key="automaticAdd" value="true"/> +<booleanAttribute key="automaticValidate" value="false"/> +<stringAttribute key="bootstrap" value=""/> +<stringAttribute key="checked" value="[NONE]"/> +<booleanAttribute key="clearConfig" value="true"/> +<booleanAttribute key="clearws" value="true"/> +<booleanAttribute key="clearwslog" value="false"/> +<stringAttribute key="configLocation" value="${workspace_loc}/.metadata/.plugins/org.eclipse.pde.core/pde-junit"/> +<booleanAttribute key="default" value="true"/> +<booleanAttribute key="includeOptional" value="true"/> +<stringAttribute key="location" value="${workspace_loc}/../junit-workspace"/> +<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS"> +<listEntry value="/org.eclipse.papyrus.uml.profile.externalresource.tests/src/org/eclipse/papyrus/uml/profile/externalresource/tests/AllTests.java"/> +</listAttribute> +<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES"> +<listEntry value="1"/> +</listAttribute> +<stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value=""/> +<booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/> +<stringAttribute key="org.eclipse.jdt.junit.TESTNAME" value=""/> +<stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit4"/> +<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/> +<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.papyrus.uml.profile.externalresource.tests.AllTests"/> +<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -consoleLog"/> +<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.eclipse.papyrus.uml.profile.externalresource.tests"/> +<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/> +<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dosgi.requiredJavaVersion=1.5 -Dhelp.lucene.tokenizer=standard -Xms768m -Xmx1200m -XX:PermSize=256M -XX:MaxPermSize=512M -Dorg.eclipse.uml2.uml.util.UMLUtil$StereotypeApplicationHelper.INSTANCE=org.eclipse.papyrus.uml.profile.externalresource.helper.PapyrusStereotypeApplicationHelper"/> +<stringAttribute key="pde.version" value="3.3"/> +<stringAttribute key="product" value="org.eclipse.platform.ide"/> +<booleanAttribute key="run_in_ui_thread" value="false"/> +<booleanAttribute key="show_selected_only" value="false"/> +<booleanAttribute key="tracing" value="false"/> +<booleanAttribute key="useCustomFeatures" value="false"/> +<booleanAttribute key="useDefaultConfig" value="true"/> +<booleanAttribute key="useDefaultConfigArea" value="false"/> +<booleanAttribute key="useProduct" value="true"/> +</launchConfiguration> diff --git a/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/plugin.xml b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/plugin.xml new file mode 100644 index 00000000000..1af20507cbc --- /dev/null +++ b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/plugin.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?eclipse version="3.4"?> +<plugin> + <extension + point="org.eclipse.emf.ecore.uri_mapping"> + <mapping + source="pathmap://EXTERNAL_RESOURCE_TEST_PATHMAP/" + target="platform:/plugin/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/"/> + </extension> + <extension point="org.eclipse.papyrus.uml.extensionpoints.UMLProfile"> + <profile + iconpath="resources/icons/testProfile.gif" + name="ExternalResourcesTestProfile (Test)" + path="pathmap://EXTERNAL_RESOURCE_TEST_PATHMAP/ExternalResourcesTestProfile.profile.uml" + provider="Eclipse Modeling Project"> + </profile> + </extension> + +</plugin>
\ No newline at end of file diff --git a/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/ExternalResourcesTestProfile.profile.di b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/ExternalResourcesTestProfile.profile.di new file mode 100644 index 00000000000..a898e8fd771 --- /dev/null +++ b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/ExternalResourcesTestProfile.profile.di @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi"> + <pageList> + <availablePage> + <emfPageIdentifier href="ExternalResourcesTestProfile.profile.notation#_yZ2kwPLPEeKxdJFsMzlLJA"/> + </availablePage> + <availablePage> + <emfPageIdentifier href="ExternalResourcesTestProfile.profile.notation#_bpFtQPLQEeKxdJFsMzlLJA"/> + </availablePage> + </pageList> + <sashModel currentSelection="//@sashModel/@windows.0/@children.0"> + <windows> + <children xsi:type="di:TabFolder"> + <children> + <emfPageIdentifier href="ExternalResourcesTestProfile.profile.notation#_yZ2kwPLPEeKxdJFsMzlLJA"/> + </children> + <children> + <emfPageIdentifier href="ExternalResourcesTestProfile.profile.notation#_bpFtQPLQEeKxdJFsMzlLJA"/> + </children> + </children> + </windows> + </sashModel> +</di:SashWindowsMngr> diff --git a/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/ExternalResourcesTestProfile.profile.notation b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/ExternalResourcesTestProfile.profile.notation new file mode 100644 index 00000000000..1c08fb5bb8c --- /dev/null +++ b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/ExternalResourcesTestProfile.profile.notation @@ -0,0 +1,202 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:l2="http://www.eclipse.org/uml2/4.0.0/UML/Profile/L2" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML"> + <notation:Diagram xmi:id="_yZ2kwPLPEeKxdJFsMzlLJA" type="PapyrusUMLProfileDiagram" name="Main" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_BRB0YPLQEeKxdJFsMzlLJA" type="1031" fillColor="8905185"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BRV9cPLQEeKxdJFsMzlLJA" source="Stereotype_Annotation"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BRXyoPLQEeKxdJFsMzlLJA" key="StereotypeWithQualifiedNameList" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BRYZsPLQEeKxdJFsMzlLJA" key="StereotypeList" value="StandardProfileL2::Metaclass"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BRZAwPLQEeKxdJFsMzlLJA" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BRZAwfLQEeKxdJFsMzlLJA" key="PropStereoDisplay" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BRZAwvLQEeKxdJFsMzlLJA" key="StereotypePropertyLocation" value="Compartment"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="_BRP20PLQEeKxdJFsMzlLJA" type="1084"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_BZNgAPLQEeKxdJFsMzlLJA" visible="false" type="AppliedStereotypeCompartement"> + <styles xmi:type="notation:TitleStyle" xmi:id="_BZNgAfLQEeKxdJFsMzlLJA" showTitle="true"/> + <element xmi:type="l2:Metaclass" href="pathmap://UML_METAMODELS/UML.metamodel.uml#_Sh6H8KtKEeGF4uwJob34Mw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BZNgAvLQEeKxdJFsMzlLJA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_BZU0wPLQEeKxdJFsMzlLJA" visible="false" type="compartment_shape_display"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BZVb0PLQEeKxdJFsMzlLJA" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BZWC4PLQEeKxdJFsMzlLJA" key="mutable" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_BZU0wfLQEeKxdJFsMzlLJA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BZU0wvLQEeKxdJFsMzlLJA"/> + </children> + <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BRP20fLQEeKxdJFsMzlLJA" x="30" y="30" width="171" height="100"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_BRdSMPLQEeKxdJFsMzlLJA" type="1031" fillColor="8905185"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BRegUPLQEeKxdJFsMzlLJA" source="Stereotype_Annotation"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BRegUfLQEeKxdJFsMzlLJA" key="StereotypeWithQualifiedNameList" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BRegUvLQEeKxdJFsMzlLJA" key="StereotypeList" value="StandardProfileL2::Metaclass"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BRfHYPLQEeKxdJFsMzlLJA" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BRfHYfLQEeKxdJFsMzlLJA" key="PropStereoDisplay" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BRfHYvLQEeKxdJFsMzlLJA" key="StereotypePropertyLocation" value="Compartment"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="_BRdSMvLQEeKxdJFsMzlLJA" type="1084"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_BaerUPLQEeKxdJFsMzlLJA" visible="false" type="AppliedStereotypeCompartement"> + <styles xmi:type="notation:TitleStyle" xmi:id="_BaerUfLQEeKxdJFsMzlLJA" showTitle="true"/> + <element xmi:type="l2:Metaclass" href="pathmap://UML_METAMODELS/UML.metamodel.uml#_Sk8N0KtKEeGF4uwJob34Mw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BaerUvLQEeKxdJFsMzlLJA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_BaerU_LQEeKxdJFsMzlLJA" visible="false" type="compartment_shape_display"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BafSYPLQEeKxdJFsMzlLJA" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BafSYfLQEeKxdJFsMzlLJA" key="mutable" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_BaerVPLQEeKxdJFsMzlLJA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BaerVfLQEeKxdJFsMzlLJA"/> + </children> + <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Package"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BRdSM_LQEeKxdJFsMzlLJA" x="260" y="30" width="171" height="100"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_Cm2X0PLQEeKxdJFsMzlLJA" type="1026"> + <children xmi:type="notation:DecorationNode" xmi:id="_Cm2X0vLQEeKxdJFsMzlLJA" type="1034"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_Cm8ecPLQEeKxdJFsMzlLJA" type="1071"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_CnOLQPLQEeKxdJFsMzlLJA" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_CnOyUPLQEeKxdJFsMzlLJA" key="showTitle" value="true"/> + </eAnnotations> + <children xmi:type="notation:Shape" xmi:id="_RvgZAPLQEeKxdJFsMzlLJA" type="3002"> + <element xmi:type="uml:Property" href="ExternalResourcesTestProfile.profile.uml#_RuBLQPLQEeKxdJFsMzlLJA"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_RvgZAfLQEeKxdJFsMzlLJA"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_Cm8ecfLQEeKxdJFsMzlLJA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_Cm8ecvLQEeKxdJFsMzlLJA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_Cm8ec_LQEeKxdJFsMzlLJA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Cm8edPLQEeKxdJFsMzlLJA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_Cm9FgPLQEeKxdJFsMzlLJA" visible="false" type="1019"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_CnScsPLQEeKxdJFsMzlLJA" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_CnScsfLQEeKxdJFsMzlLJA" key="showTitle" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_Cm9FgfLQEeKxdJFsMzlLJA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_Cm9FgvLQEeKxdJFsMzlLJA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_Cm9Fg_LQEeKxdJFsMzlLJA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Cm9FhPLQEeKxdJFsMzlLJA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_CntTcPLQEeKxdJFsMzlLJA" visible="false" type="compartment_shape_display"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Cnt6gPLQEeKxdJFsMzlLJA" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Cnt6gfLQEeKxdJFsMzlLJA" key="mutable" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_CntTcfLQEeKxdJFsMzlLJA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CntTcvLQEeKxdJFsMzlLJA"/> + </children> + <element xmi:type="uml:Stereotype" href="ExternalResourcesTestProfile.profile.uml#_CmLCYPLQEeKxdJFsMzlLJA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Cm2X0fLQEeKxdJFsMzlLJA" x="30" y="230" width="171"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_FvT9kPLQEeKxdJFsMzlLJA" type="1026"> + <children xmi:type="notation:DecorationNode" xmi:id="_FvUkoPLQEeKxdJFsMzlLJA" type="1034"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_FvUkofLQEeKxdJFsMzlLJA" type="1071"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_FvVLsPLQEeKxdJFsMzlLJA" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_FvVywPLQEeKxdJFsMzlLJA" key="showTitle" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_FvUkovLQEeKxdJFsMzlLJA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_FvUko_LQEeKxdJFsMzlLJA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_FvUkpPLQEeKxdJFsMzlLJA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_FvUkpfLQEeKxdJFsMzlLJA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_FvUkpvLQEeKxdJFsMzlLJA" visible="false" type="1019"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_FvVywfLQEeKxdJFsMzlLJA" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_FvVywvLQEeKxdJFsMzlLJA" key="showTitle" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_FvUkp_LQEeKxdJFsMzlLJA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_FvUkqPLQEeKxdJFsMzlLJA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_FvUkqfLQEeKxdJFsMzlLJA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_FvUkqvLQEeKxdJFsMzlLJA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_Fvgx4PLQEeKxdJFsMzlLJA" visible="false" type="compartment_shape_display"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Fvgx4_LQEeKxdJFsMzlLJA" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Fvgx5PLQEeKxdJFsMzlLJA" key="mutable" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_Fvgx4fLQEeKxdJFsMzlLJA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Fvgx4vLQEeKxdJFsMzlLJA"/> + </children> + <element xmi:type="uml:Stereotype" href="ExternalResourcesTestProfile.profile.uml#_Fu-mYPLQEeKxdJFsMzlLJA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_FvT9kfLQEeKxdJFsMzlLJA" x="260" y="230" width="171"/> + </children> + <styles xmi:type="notation:DiagramStyle" xmi:id="_yZ2kwfLPEeKxdJFsMzlLJA"/> + <element xmi:type="uml:Profile" href="ExternalResourcesTestProfile.profile.uml#_yW4wUPLPEeKxdJFsMzlLJA"/> + <edges xmi:type="notation:Connector" xmi:id="_OjUJ0PLQEeKxdJFsMzlLJA" type="1013" source="_Cm2X0PLQEeKxdJFsMzlLJA" target="_BRB0YPLQEeKxdJFsMzlLJA"> + <styles xmi:type="notation:FontStyle" xmi:id="_OjUJ0fLQEeKxdJFsMzlLJA"/> + <element xmi:type="uml:Extension" href="ExternalResourcesTestProfile.profile.uml#_Oi-LkPLQEeKxdJFsMzlLJA"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_OjUJ0vLQEeKxdJFsMzlLJA" points="[-5, -8, -5, 150]$[-5, -108, -5, 50]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OkJQQPLQEeKxdJFsMzlLJA" id="(0.49645390070921985,0.08)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_PnT9cPLQEeKxdJFsMzlLJA" type="1013" source="_FvT9kPLQEeKxdJFsMzlLJA" target="_BRdSMPLQEeKxdJFsMzlLJA"> + <styles xmi:type="notation:FontStyle" xmi:id="_PnT9cfLQEeKxdJFsMzlLJA"/> + <element xmi:type="uml:Extension" href="ExternalResourcesTestProfile.profile.uml#_PnHJIPLQEeKxdJFsMzlLJA"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_PnT9cvLQEeKxdJFsMzlLJA" points="[-2, -10, 1, 150]$[-73, -151, -70, 9]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_PnZdAPLQEeKxdJFsMzlLJA" id="(0.5177304964539007,0.1)"/> + </edges> + </notation:Diagram> + <notation:Diagram xmi:id="_bpFtQPLQEeKxdJFsMzlLJA" type="PapyrusUMLProfileDiagram" name="SubProfile" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_gqIlQPLQEeKxdJFsMzlLJA" type="1031" fillColor="8905185"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_gqjcAPLQEeKxdJFsMzlLJA" source="Stereotype_Annotation"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gqjcAfLQEeKxdJFsMzlLJA" key="StereotypeWithQualifiedNameList" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gqjcAvLQEeKxdJFsMzlLJA" key="StereotypeList" value="StandardProfileL2::Metaclass"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gqjcA_LQEeKxdJFsMzlLJA" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gqjcBPLQEeKxdJFsMzlLJA" key="PropStereoDisplay" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gqjcBfLQEeKxdJFsMzlLJA" key="StereotypePropertyLocation" value="Compartment"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="_gqIlQvLQEeKxdJFsMzlLJA" type="1084"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_gqfxoPLQEeKxdJFsMzlLJA" visible="false" type="AppliedStereotypeCompartement"> + <styles xmi:type="notation:TitleStyle" xmi:id="_gqfxofLQEeKxdJFsMzlLJA" showTitle="true"/> + <element xmi:type="l2:Metaclass" href="pathmap://UML_METAMODELS/UML.metamodel.uml#_SjhRgKtKEeGF4uwJob34Mw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_gqfxovLQEeKxdJFsMzlLJA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_gqgYsPLQEeKxdJFsMzlLJA" visible="false" type="compartment_shape_display"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_gqg_wPLQEeKxdJFsMzlLJA" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gqg_wfLQEeKxdJFsMzlLJA" key="mutable" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_gqgYsfLQEeKxdJFsMzlLJA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_gqgYsvLQEeKxdJFsMzlLJA"/> + </children> + <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Element"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_gqIlQfLQEeKxdJFsMzlLJA" x="95" y="25" width="246" height="98"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_hGOEUPLQEeKxdJFsMzlLJA" type="1026"> + <children xmi:type="notation:DecorationNode" xmi:id="_hGOrYPLQEeKxdJFsMzlLJA" type="1034"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_hGOrYfLQEeKxdJFsMzlLJA" type="1071"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_hGOra_LQEeKxdJFsMzlLJA" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hGOrbPLQEeKxdJFsMzlLJA" key="showTitle" value="true"/> + </eAnnotations> + <children xmi:type="notation:Shape" xmi:id="_qy_EkPLQEeKxdJFsMzlLJA" type="3002"> + <element xmi:type="uml:Property" href="ExternalResourcesTestProfile.profile.uml#_qy0sgPLQEeKxdJFsMzlLJA"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_qy_EkfLQEeKxdJFsMzlLJA"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_tTggkPLQEeKxdJFsMzlLJA" type="3002"> + <element xmi:type="uml:Property" href="ExternalResourcesTestProfile.profile.uml#_tTVhcPLQEeKxdJFsMzlLJA"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_tTggkfLQEeKxdJFsMzlLJA"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_hGOrYvLQEeKxdJFsMzlLJA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_hGOrY_LQEeKxdJFsMzlLJA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_hGOrZPLQEeKxdJFsMzlLJA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_hGOrZfLQEeKxdJFsMzlLJA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_hGOrZvLQEeKxdJFsMzlLJA" visible="false" type="1019"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_hGPScPLQEeKxdJFsMzlLJA" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hGPScfLQEeKxdJFsMzlLJA" key="showTitle" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_hGOrZ_LQEeKxdJFsMzlLJA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_hGOraPLQEeKxdJFsMzlLJA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_hGOrafLQEeKxdJFsMzlLJA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_hGOravLQEeKxdJFsMzlLJA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_hGYcYPLQEeKxdJFsMzlLJA" visible="false" type="compartment_shape_display"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_hGZqgPLQEeKxdJFsMzlLJA" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hGZqgfLQEeKxdJFsMzlLJA" key="mutable" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_hGZDcPLQEeKxdJFsMzlLJA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_hGZDcfLQEeKxdJFsMzlLJA"/> + </children> + <element xmi:type="uml:Stereotype" href="ExternalResourcesTestProfile.profile.uml#_D86y4PLQEeKxdJFsMzlLJA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_hGOEUfLQEeKxdJFsMzlLJA" x="93" y="243" width="246" height="98"/> + </children> + <styles xmi:type="notation:DiagramStyle" xmi:id="_bpFtQfLQEeKxdJFsMzlLJA"/> + <element xmi:type="uml:Profile" href="ExternalResourcesTestProfile.profile.uml#_8HJwgPLPEeKxdJFsMzlLJA"/> + <edges xmi:type="notation:Connector" xmi:id="_hGgYMPLQEeKxdJFsMzlLJA" type="1013" source="_hGOEUPLQEeKxdJFsMzlLJA" target="_gqIlQPLQEeKxdJFsMzlLJA"> + <styles xmi:type="notation:FontStyle" xmi:id="_hGgYMfLQEeKxdJFsMzlLJA"/> + <element xmi:type="uml:Extension" href="ExternalResourcesTestProfile.profile.uml#_PJRWkPLQEeKxdJFsMzlLJA"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_hGgYMvLQEeKxdJFsMzlLJA" points="[0, 0, -196, -157]$[164, 132, -32, -25]"/> + </edges> + </notation:Diagram> +</xmi:XMI> diff --git a/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/ExternalResourcesTestProfile.profile.uml b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/ExternalResourcesTestProfile.profile.uml new file mode 100644 index 00000000000..82254c7c111 --- /dev/null +++ b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/ExternalResourcesTestProfile.profile.uml @@ -0,0 +1,158 @@ +<?xml version="1.0" encoding="UTF-8"?> +<uml:Profile xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_yW4wUPLPEeKxdJFsMzlLJA" name="ExternalResourcesTestProfile" metaclassReference="_BQMG4PLQEeKxdJFsMzlLJA _BQu5cPLQEeKxdJFsMzlLJA" metamodelReference="_yW5XYPLPEeKxdJFsMzlLJA"> + <eAnnotations xmi:id="_7pf1EPLYEeKxdJFsMzlLJA" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <contents xmi:type="ecore:EPackage" xmi:id="_aPl0oPLZEeKxdJFsMzlLJA" name="ExternalResourcesTestProfile" nsURI="http:///schemas/ExternalResourcesTestProfile/_aPlNkPLZEeKxdJFsMzlLJA/1" nsPrefix="ExternalResourcesTestProfile"> + <eAnnotations xmi:id="_aPl0ofLZEeKxdJFsMzlLJA" source="http://www.eclipse.org/uml2/4.0.0/UML" references="_8HJwgPLPEeKxdJFsMzlLJA"/> + <eAnnotations xmi:id="_aP7L0PLZEeKxdJFsMzlLJA" source="PapyrusVersion"> + <details xmi:id="_aP7L0fLZEeKxdJFsMzlLJA" key="Version" value="0.0.2"/> + <details xmi:id="_aP7L0vLZEeKxdJFsMzlLJA" key="Comment" value="update default values for existing properties"/> + <details xmi:id="_aP7L0_LZEeKxdJFsMzlLJA" key="Copyright" value=""/> + <details xmi:id="_aP7L1PLZEeKxdJFsMzlLJA" key="Date" value="2013-07-22"/> + <details xmi:id="_aP7L1fLZEeKxdJFsMzlLJA" key="Author" value=""/> + </eAnnotations> + <eClassifiers xmi:type="ecore:EClass" xmi:id="_aPl0ovLZEeKxdJFsMzlLJA" name="ClassStereotype"> + <eAnnotations xmi:id="_aPl0o_LZEeKxdJFsMzlLJA" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_CmLCYPLQEeKxdJFsMzlLJA"/> + <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_aPl0pPLZEeKxdJFsMzlLJA" name="base_Class" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/> + </eStructuralFeatures> + <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_aPl0pvLZEeKxdJFsMzlLJA" name="stringValue" ordered="false" lowerBound="1" defaultValueLiteral="default"> + <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//String"/> + </eStructuralFeatures> + </eClassifiers> + <eClassifiers xmi:type="ecore:EClass" xmi:id="_aPl0qPLZEeKxdJFsMzlLJA" name="PackageStereotype"> + <eAnnotations xmi:id="_aPl0qfLZEeKxdJFsMzlLJA" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_Fu-mYPLQEeKxdJFsMzlLJA"/> + <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_aPl0qvLZEeKxdJFsMzlLJA" name="base_Package" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//Package"/> + </eStructuralFeatures> + </eClassifiers> + </contents> + <contents xmi:type="ecore:EPackage" xmi:id="_7pnw4PLYEeKxdJFsMzlLJA" name="ExternalResourcesTestProfile" nsURI="http:///schemas/ExternalResourcesTestProfile/_7pa8kPLYEeKxdJFsMzlLJA/0" nsPrefix="ExternalResourcesTestProfile"> + <eAnnotations xmi:id="_7pnw4fLYEeKxdJFsMzlLJA" source="http://www.eclipse.org/uml2/4.0.0/UML" references="_8HJwgPLPEeKxdJFsMzlLJA"/> + <eAnnotations xmi:id="_7qR4MPLYEeKxdJFsMzlLJA" source="PapyrusVersion"> + <details xmi:id="_7qR4MfLYEeKxdJFsMzlLJA" key="Version" value="0.0.1"/> + <details xmi:id="_7qR4MvLYEeKxdJFsMzlLJA" key="Comment" value="First version of this test profile"/> + <details xmi:id="_7qR4M_LYEeKxdJFsMzlLJA" key="Copyright" value=""/> + <details xmi:id="_7qR4NPLYEeKxdJFsMzlLJA" key="Date" value="2013-07-22"/> + <details xmi:id="_7qR4NfLYEeKxdJFsMzlLJA" key="Author" value=""/> + </eAnnotations> + <eClassifiers xmi:type="ecore:EClass" xmi:id="_7pnw4vLYEeKxdJFsMzlLJA" name="ClassStereotype"> + <eAnnotations xmi:id="_7pnw4_LYEeKxdJFsMzlLJA" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_CmLCYPLQEeKxdJFsMzlLJA"/> + <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_7pnw5PLYEeKxdJFsMzlLJA" name="base_Class" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/> + </eStructuralFeatures> + <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_7pnw5vLYEeKxdJFsMzlLJA" name="stringValue" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//String"/> + </eStructuralFeatures> + </eClassifiers> + <eClassifiers xmi:type="ecore:EClass" xmi:id="_7pnw6PLYEeKxdJFsMzlLJA" name="PackageStereotype"> + <eAnnotations xmi:id="_7pnw6fLYEeKxdJFsMzlLJA" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_Fu-mYPLQEeKxdJFsMzlLJA"/> + <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_7pnw6vLYEeKxdJFsMzlLJA" name="base_Package" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//Package"/> + </eStructuralFeatures> + </eClassifiers> + </contents> + </eAnnotations> + <elementImport xmi:id="_BQMG4PLQEeKxdJFsMzlLJA" alias="Class"> + <importedElement xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> + </elementImport> + <elementImport xmi:id="_BQu5cPLQEeKxdJFsMzlLJA" alias="Package"> + <importedElement xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Package"/> + </elementImport> + <packageImport xmi:id="_yW5XYPLPEeKxdJFsMzlLJA"> + <importedPackage xmi:type="uml:Model" href="pathmap://UML_METAMODELS/UML.metamodel.uml#_0"/> + </packageImport> + <packageImport xmi:id="_yW5XYfLPEeKxdJFsMzlLJA"> + <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/> + </packageImport> + <packagedElement xmi:type="uml:Profile" xmi:id="_8HJwgPLPEeKxdJFsMzlLJA" name="SubProfile"> + <eAnnotations xmi:id="_7pspYfLYEeKxdJFsMzlLJA" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <contents xmi:type="ecore:EPackage" xmi:id="_aPpfAfLZEeKxdJFsMzlLJA" name="SubProfile" nsURI="http://ExternalResourcesTestProfile/schemas/SubProfile/_aPpfAPLZEeKxdJFsMzlLJA/1" nsPrefix="SubProfile"> + <eAnnotations xmi:id="_aQIAIPLZEeKxdJFsMzlLJA" source="PapyrusVersion"> + <details xmi:id="_aQIAIfLZEeKxdJFsMzlLJA" key="Version" value="0.0.2"/> + <details xmi:id="_aQIAIvLZEeKxdJFsMzlLJA" key="Comment" value="update default values for existing properties"/> + <details xmi:id="_aQIAI_LZEeKxdJFsMzlLJA" key="Copyright" value=""/> + <details xmi:id="_aQIAJPLZEeKxdJFsMzlLJA" key="Date" value="2013-07-22"/> + <details xmi:id="_aQIAJfLZEeKxdJFsMzlLJA" key="Author" value=""/> + </eAnnotations> + <eClassifiers xmi:type="ecore:EClass" xmi:id="_aPpfAvLZEeKxdJFsMzlLJA" name="ElementStereotype"> + <eAnnotations xmi:id="_aPpfA_LZEeKxdJFsMzlLJA" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_D86y4PLQEeKxdJFsMzlLJA"/> + <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_aPpfBPLZEeKxdJFsMzlLJA" name="base_Element" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//Element"/> + </eStructuralFeatures> + <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_aPpfBvLZEeKxdJFsMzlLJA" name="stringSimple" ordered="false" lowerBound="1" defaultValueLiteral="defaultValue"> + <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//String"/> + </eStructuralFeatures> + <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_aPpfCPLZEeKxdJFsMzlLJA" name="intSimple" ordered="false" unique="false" lowerBound="1" defaultValueLiteral="0"> + <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//Integer"/> + </eStructuralFeatures> + </eClassifiers> + </contents> + <contents xmi:type="ecore:EPackage" xmi:id="_7pz-IPLYEeKxdJFsMzlLJA" name="SubProfile" nsURI="http://ExternalResourcesTestProfile/schemas/SubProfile/_7pspYPLYEeKxdJFsMzlLJA/0" nsPrefix="SubProfile"> + <eAnnotations xmi:id="_7qdeYPLYEeKxdJFsMzlLJA" source="PapyrusVersion"> + <details xmi:id="_7qdeYfLYEeKxdJFsMzlLJA" key="Version" value="0.0.1"/> + <details xmi:id="_7qdeYvLYEeKxdJFsMzlLJA" key="Comment" value="First version of this test profile"/> + <details xmi:id="_7qdeY_LYEeKxdJFsMzlLJA" key="Copyright" value=""/> + <details xmi:id="_7qdeZPLYEeKxdJFsMzlLJA" key="Date" value="2013-07-22"/> + <details xmi:id="_7qdeZfLYEeKxdJFsMzlLJA" key="Author" value=""/> + </eAnnotations> + <eClassifiers xmi:type="ecore:EClass" xmi:id="_7pz-IfLYEeKxdJFsMzlLJA" name="ElementStereotype"> + <eAnnotations xmi:id="_7pz-IvLYEeKxdJFsMzlLJA" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_D86y4PLQEeKxdJFsMzlLJA"/> + <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_7pz-I_LYEeKxdJFsMzlLJA" name="base_Element" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//Element"/> + </eStructuralFeatures> + <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_7pz-JfLYEeKxdJFsMzlLJA" name="stringSimple" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//String"/> + </eStructuralFeatures> + <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_7pz-J_LYEeKxdJFsMzlLJA" name="intSimple" ordered="false" unique="false" lowerBound="1"> + <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//Integer"/> + </eStructuralFeatures> + </eClassifiers> + </contents> + </eAnnotations> + <elementImport xmi:id="_BQg3APLQEeKxdJFsMzlLJA" alias="Element"> + <importedElement xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Element"/> + </elementImport> + <packagedElement xmi:type="uml:Stereotype" xmi:id="_D86y4PLQEeKxdJFsMzlLJA" name="ElementStereotype"> + <ownedAttribute xmi:id="_PJJawPLQEeKxdJFsMzlLJA" name="base_Element" association="_PJRWkPLQEeKxdJFsMzlLJA"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Element"/> + </ownedAttribute> + <ownedAttribute xmi:id="_qy0sgPLQEeKxdJFsMzlLJA" name="stringSimple" visibility="public"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_s03cwPLQEeKxdJFsMzlLJA" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_s1E4IPLQEeKxdJFsMzlLJA" value="1"/> + <defaultValue xmi:type="uml:LiteralString" xmi:id="_s1l1gPLQEeKxdJFsMzlLJA" name="defaultValueStringSimple" value="defaultValue"/> + </ownedAttribute> + <ownedAttribute xmi:id="_tTVhcPLQEeKxdJFsMzlLJA" name="intSimple" visibility="public" isUnique="false"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Integer"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_unGPYPLQEeKxdJFsMzlLJA" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_unTDsPLQEeKxdJFsMzlLJA" value="1"/> + <defaultValue xmi:type="uml:LiteralInteger" xmi:id="_NukkEPLZEeKxdJFsMzlLJA" name="defaultIntegerValue"/> + </ownedAttribute> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="_PJRWkPLQEeKxdJFsMzlLJA" name="E_ElementStereotype_Element1" memberEnd="_PJRWkfLQEeKxdJFsMzlLJA _PJJawPLQEeKxdJFsMzlLJA"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_PJRWkfLQEeKxdJFsMzlLJA" name="extension_ElementStereotype" type="_D86y4PLQEeKxdJFsMzlLJA" aggregation="composite" association="_PJRWkPLQEeKxdJFsMzlLJA"/> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="_CmLCYPLQEeKxdJFsMzlLJA" name="ClassStereotype"> + <ownedAttribute xmi:id="_Oi3d4PLQEeKxdJFsMzlLJA" name="base_Class" association="_Oi-LkPLQEeKxdJFsMzlLJA"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> + </ownedAttribute> + <ownedAttribute xmi:id="_RuBLQPLQEeKxdJFsMzlLJA" name="stringValue" visibility="public"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_UqimwPLQEeKxdJFsMzlLJA" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_Uqx3UPLQEeKxdJFsMzlLJA" value="1"/> + <defaultValue xmi:type="uml:LiteralString" xmi:id="_Urg3IPLQEeKxdJFsMzlLJA" name="stringValueDefautValue" value="default"/> + </ownedAttribute> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="_Fu-mYPLQEeKxdJFsMzlLJA" name="PackageStereotype"> + <ownedAttribute xmi:id="_PnBpkPLQEeKxdJFsMzlLJA" name="base_Package" association="_PnHJIPLQEeKxdJFsMzlLJA"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Package"/> + </ownedAttribute> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="_Oi-LkPLQEeKxdJFsMzlLJA" name="E_ClassStereotype_Class1" memberEnd="_Oi-yoPLQEeKxdJFsMzlLJA _Oi3d4PLQEeKxdJFsMzlLJA"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_Oi-yoPLQEeKxdJFsMzlLJA" name="extension_ClassStereotype" type="_CmLCYPLQEeKxdJFsMzlLJA" aggregation="composite" association="_Oi-LkPLQEeKxdJFsMzlLJA"/> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="_PnHJIPLQEeKxdJFsMzlLJA" name="E_PackageStereotype_Package1" memberEnd="_PnHJIfLQEeKxdJFsMzlLJA _PnBpkPLQEeKxdJFsMzlLJA"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_PnHJIfLQEeKxdJFsMzlLJA" name="extension_PackageStereotype" type="_Fu-mYPLQEeKxdJFsMzlLJA" aggregation="composite" association="_PnHJIPLQEeKxdJFsMzlLJA"/> + </packagedElement> +</uml:Profile> diff --git a/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/OneResourcePerProfile/oneProfileApplied.ExternalResourcesTestProfileProfile b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/OneResourcePerProfile/oneProfileApplied.ExternalResourcesTestProfileProfile new file mode 100644 index 00000000000..f61655dbe97 --- /dev/null +++ b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/OneResourcePerProfile/oneProfileApplied.ExternalResourcesTestProfileProfile @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ExternalResourcesTestProfile="http:///schemas/ExternalResourcesTestProfile/_aPlNkPLZEeKxdJFsMzlLJA/1" xmlns:SubProfile="http://ExternalResourcesTestProfile/schemas/SubProfile/_aPpfAPLZEeKxdJFsMzlLJA/1" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xsi:schemaLocation="http:///schemas/ExternalResourcesTestProfile/_aPlNkPLZEeKxdJFsMzlLJA/1 pathmap://EXTERNAL_RESOURCE_TEST_PATHMAP/ExternalResourcesTestProfile.profile.uml#_aPl0oPLZEeKxdJFsMzlLJA http://ExternalResourcesTestProfile/schemas/SubProfile/_aPpfAPLZEeKxdJFsMzlLJA/1 pathmap://EXTERNAL_RESOURCE_TEST_PATHMAP/ExternalResourcesTestProfile.profile.uml#_aPpfAfLZEeKxdJFsMzlLJA"> + <ExternalResourcesTestProfile:ClassStereotype xmi:id="_QmeWQPuVEeKClrtZiAiidQ"> + <base_Class xmi:type="uml:Class" href="oneProfileApplied.uml#_6e1LAPVEEeKWG-T5DC87Xw"/> + </ExternalResourcesTestProfile:ClassStereotype> + <SubProfile:ElementStereotype xmi:id="_XPG3IPuVEeKClrtZiAiidQ"> + <base_Element xmi:type="uml:Class" href="oneProfileApplied.uml#_kyl8EPXIEeKjvqrMhLLWTg"/> + </SubProfile:ElementStereotype> +</xmi:XMI> diff --git a/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/OneResourcePerProfile/oneProfileApplied.di b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/OneResourcePerProfile/oneProfileApplied.di new file mode 100644 index 00000000000..94f0ac19f7f --- /dev/null +++ b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/OneResourcePerProfile/oneProfileApplied.di @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi"> + <pageList> + <availablePage> + <emfPageIdentifier href="oneProfileApplied.notation#_LLO-QPVCEeKaxaN6QZe_iw"/> + </availablePage> + </pageList> + <sashModel currentSelection="//@sashModel/@windows.0/@children.0"> + <windows> + <children xsi:type="di:TabFolder"> + <children> + <emfPageIdentifier href="oneProfileApplied.notation#_LLO-QPVCEeKaxaN6QZe_iw"/> + </children> + </children> + </windows> + </sashModel> +</di:SashWindowsMngr> diff --git a/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/OneResourcePerProfile/oneProfileApplied.notation b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/OneResourcePerProfile/oneProfileApplied.notation new file mode 100644 index 00000000000..aa1c4f793d3 --- /dev/null +++ b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/OneResourcePerProfile/oneProfileApplied.notation @@ -0,0 +1,97 @@ +<?xml version="1.0" encoding="UTF-8"?> +<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_LLO-QPVCEeKaxaN6QZe_iw" type="PapyrusUMLClassDiagram" name="Main" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_6g19MPVEEeKWG-T5DC87Xw" type="2008"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_-bIBcPVEEeKWG-T5DC87Xw" source="Stereotype_Annotation"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_QmngMPuVEeKClrtZiAiidQ" key="StereotypeWithQualifiedNameList" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_QmngMfuVEeKClrtZiAiidQ" key="StereotypeList" value="ExternalResourcesTestProfile::ClassStereotype"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_QmngMvuVEeKClrtZiAiidQ" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_QmngM_uVEeKClrtZiAiidQ" key="PropStereoDisplay" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_QmngNPuVEeKClrtZiAiidQ" key="StereotypePropertyLocation" value="Compartment"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="_6g61sPVEEeKWG-T5DC87Xw" type="5029"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_6g_HIPVEEeKWG-T5DC87Xw" type="7017"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6hqckPVEEeKWG-T5DC87Xw" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6hqckfVEEeKWG-T5DC87Xw" key="showTitle" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_6g_HIfVEEeKWG-T5DC87Xw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_6g_HIvVEEeKWG-T5DC87Xw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_6g_HI_VEEeKWG-T5DC87Xw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6g_HJPVEEeKWG-T5DC87Xw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_6g_HJfVEEeKWG-T5DC87Xw" type="7018"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6hrqsPVEEeKWG-T5DC87Xw" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6hrqsfVEEeKWG-T5DC87Xw" key="showTitle" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_6g_HJvVEEeKWG-T5DC87Xw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_6g_HJ_VEEeKWG-T5DC87Xw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_6g_HKPVEEeKWG-T5DC87Xw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6g_HKfVEEeKWG-T5DC87Xw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_6g_HKvVEEeKWG-T5DC87Xw" type="7019"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6hsRwPVEEeKWG-T5DC87Xw" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6hs40PVEEeKWG-T5DC87Xw" key="showTitle" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_6g_HK_VEEeKWG-T5DC87Xw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_6g_HLPVEEeKWG-T5DC87Xw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_6g_HLfVEEeKWG-T5DC87Xw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6g_HLvVEEeKWG-T5DC87Xw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_6mWvUPVEEeKWG-T5DC87Xw" visible="false" type="compartment_shape_display"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6mX9cPVEEeKWG-T5DC87Xw" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6mX9cfVEEeKWG-T5DC87Xw" key="mutable" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_6mWvUfVEEeKWG-T5DC87Xw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6mWvUvVEEeKWG-T5DC87Xw"/> + </children> + <element xmi:type="uml:Class" href="oneProfileApplied.uml#_6e1LAPVEEeKWG-T5DC87Xw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6g19MfVEEeKWG-T5DC87Xw" x="40" y="25" width="321" height="331"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_k19ZIPXIEeKjvqrMhLLWTg" type="2008"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_my94YPXIEeKjvqrMhLLWTg" source="Stereotype_Annotation"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_XPLvoPuVEeKClrtZiAiidQ" key="StereotypeWithQualifiedNameList" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_XPLvofuVEeKClrtZiAiidQ" key="StereotypeList" value="ExternalResourcesTestProfile::SubProfile::ElementStereotype"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_XPLvovuVEeKClrtZiAiidQ" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_XPLvo_uVEeKClrtZiAiidQ" key="PropStereoDisplay" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_XPLvpPuVEeKClrtZiAiidQ" key="StereotypePropertyLocation" value="Compartment"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="_k1_OUPXIEeKjvqrMhLLWTg" type="5029"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_k1_1YPXIEeKjvqrMhLLWTg" type="7017"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_k2AccPXIEeKjvqrMhLLWTg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_k2AccfXIEeKjvqrMhLLWTg" key="showTitle" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_k1_1YfXIEeKjvqrMhLLWTg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_k1_1YvXIEeKjvqrMhLLWTg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_k1_1Y_XIEeKjvqrMhLLWTg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_k1_1ZPXIEeKjvqrMhLLWTg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_k1_1ZfXIEeKjvqrMhLLWTg" type="7018"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_k2AccvXIEeKjvqrMhLLWTg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_k2Acc_XIEeKjvqrMhLLWTg" key="showTitle" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_k1_1ZvXIEeKjvqrMhLLWTg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_k1_1Z_XIEeKjvqrMhLLWTg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_k1_1aPXIEeKjvqrMhLLWTg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_k1_1afXIEeKjvqrMhLLWTg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_k1_1avXIEeKjvqrMhLLWTg" type="7019"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_k2BDgPXIEeKjvqrMhLLWTg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_k2BDgfXIEeKjvqrMhLLWTg" key="showTitle" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_k1_1a_XIEeKjvqrMhLLWTg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_k1_1bPXIEeKjvqrMhLLWTg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_k1_1bfXIEeKjvqrMhLLWTg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_k1_1bvXIEeKjvqrMhLLWTg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_k2MpsPXIEeKjvqrMhLLWTg" visible="false" type="compartment_shape_display"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_k2Mps_XIEeKjvqrMhLLWTg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_k2MptPXIEeKjvqrMhLLWTg" key="mutable" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_k2MpsfXIEeKjvqrMhLLWTg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_k2MpsvXIEeKjvqrMhLLWTg"/> + </children> + <element xmi:type="uml:Class" href="oneProfileApplied.uml#_kyl8EPXIEeKjvqrMhLLWTg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_k19ZIfXIEeKjvqrMhLLWTg" x="575" y="30" width="336" height="331"/> + </children> + <styles xmi:type="notation:DiagramStyle" xmi:id="_LLO-QfVCEeKaxaN6QZe_iw"/> + <element xmi:type="uml:Model" href="oneProfileApplied.uml#_LK5nEPVCEeKaxaN6QZe_iw"/> +</notation:Diagram> diff --git a/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/OneResourcePerProfile/oneProfileApplied.uml b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/OneResourcePerProfile/oneProfileApplied.uml new file mode 100644 index 00000000000..697bc938578 --- /dev/null +++ b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/OneResourcePerProfile/oneProfileApplied.uml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_LK5nEPVCEeKaxaN6QZe_iw" name="Model"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zB4P8PuUEeKClrtZiAiidQ" source="http://www.eclipse.org/papyrus/uml/profile/externalresource"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zB4P8fuUEeKClrtZiAiidQ" key="locationStrategy" value="ResourcePerProfileStrategy"/> + </eAnnotations> + <packageImport xmi:type="uml:PackageImport" xmi:id="_LK5nEfVCEeKaxaN6QZe_iw"> + <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/> + </packageImport> + <packagedElement xmi:type="uml:Class" xmi:id="_6e1LAPVEEeKWG-T5DC87Xw" name="Class1"/> + <packagedElement xmi:type="uml:Class" xmi:id="_kyl8EPXIEeKjvqrMhLLWTg" name="Class2"/> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_5JIjYPVEEeKWG-T5DC87Xw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_5JehoPVEEeKWG-T5DC87Xw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="pathmap://EXTERNAL_RESOURCE_TEST_PATHMAP/ExternalResourcesTestProfile.profile.uml#_aPl0oPLZEeKxdJFsMzlLJA"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://EXTERNAL_RESOURCE_TEST_PATHMAP/ExternalResourcesTestProfile.profile.uml#_yW4wUPLPEeKxdJFsMzlLJA"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_5JmdcPVEEeKWG-T5DC87Xw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_5J1G8PVEEeKWG-T5DC87Xw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="pathmap://EXTERNAL_RESOURCE_TEST_PATHMAP/ExternalResourcesTestProfile.profile.uml#_aPpfAfLZEeKxdJFsMzlLJA"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://EXTERNAL_RESOURCE_TEST_PATHMAP/ExternalResourcesTestProfile.profile.uml#_8HJwgPLPEeKxdJFsMzlLJA"/> + </profileApplication> +</uml:Model> diff --git a/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/OneResourceforAllProfiles/oneProfileApplied.di b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/OneResourceforAllProfiles/oneProfileApplied.di new file mode 100644 index 00000000000..94f0ac19f7f --- /dev/null +++ b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/OneResourceforAllProfiles/oneProfileApplied.di @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi"> + <pageList> + <availablePage> + <emfPageIdentifier href="oneProfileApplied.notation#_LLO-QPVCEeKaxaN6QZe_iw"/> + </availablePage> + </pageList> + <sashModel currentSelection="//@sashModel/@windows.0/@children.0"> + <windows> + <children xsi:type="di:TabFolder"> + <children> + <emfPageIdentifier href="oneProfileApplied.notation#_LLO-QPVCEeKaxaN6QZe_iw"/> + </children> + </children> + </windows> + </sashModel> +</di:SashWindowsMngr> diff --git a/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/OneResourceforAllProfiles/oneProfileApplied.notation b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/OneResourceforAllProfiles/oneProfileApplied.notation new file mode 100644 index 00000000000..67884c42ae1 --- /dev/null +++ b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/OneResourceforAllProfiles/oneProfileApplied.notation @@ -0,0 +1,97 @@ +<?xml version="1.0" encoding="UTF-8"?> +<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_LLO-QPVCEeKaxaN6QZe_iw" type="PapyrusUMLClassDiagram" name="Main" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_6g19MPVEEeKWG-T5DC87Xw" type="2008"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_-bIBcPVEEeKWG-T5DC87Xw" source="Stereotype_Annotation"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_pyPhgPksEeK1io5hEcSdZA" key="StereotypeWithQualifiedNameList" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_pyQIkPksEeK1io5hEcSdZA" key="StereotypeList" value="ExternalResourcesTestProfile::ClassStereotype"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_pyQIkfksEeK1io5hEcSdZA" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_pyQIkvksEeK1io5hEcSdZA" key="PropStereoDisplay" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_pyQIk_ksEeK1io5hEcSdZA" key="StereotypePropertyLocation" value="Compartment"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="_6g61sPVEEeKWG-T5DC87Xw" type="5029"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_6g_HIPVEEeKWG-T5DC87Xw" type="7017"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6hqckPVEEeKWG-T5DC87Xw" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6hqckfVEEeKWG-T5DC87Xw" key="showTitle" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_6g_HIfVEEeKWG-T5DC87Xw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_6g_HIvVEEeKWG-T5DC87Xw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_6g_HI_VEEeKWG-T5DC87Xw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6g_HJPVEEeKWG-T5DC87Xw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_6g_HJfVEEeKWG-T5DC87Xw" type="7018"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6hrqsPVEEeKWG-T5DC87Xw" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6hrqsfVEEeKWG-T5DC87Xw" key="showTitle" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_6g_HJvVEEeKWG-T5DC87Xw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_6g_HJ_VEEeKWG-T5DC87Xw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_6g_HKPVEEeKWG-T5DC87Xw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6g_HKfVEEeKWG-T5DC87Xw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_6g_HKvVEEeKWG-T5DC87Xw" type="7019"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6hsRwPVEEeKWG-T5DC87Xw" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6hs40PVEEeKWG-T5DC87Xw" key="showTitle" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_6g_HK_VEEeKWG-T5DC87Xw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_6g_HLPVEEeKWG-T5DC87Xw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_6g_HLfVEEeKWG-T5DC87Xw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6g_HLvVEEeKWG-T5DC87Xw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_6mWvUPVEEeKWG-T5DC87Xw" visible="false" type="compartment_shape_display"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6mX9cPVEEeKWG-T5DC87Xw" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6mX9cfVEEeKWG-T5DC87Xw" key="mutable" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_6mWvUfVEEeKWG-T5DC87Xw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6mWvUvVEEeKWG-T5DC87Xw"/> + </children> + <element xmi:type="uml:Class" href="oneProfileApplied.uml#_6e1LAPVEEeKWG-T5DC87Xw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6g19MfVEEeKWG-T5DC87Xw" x="280" y="185" width="321" height="331"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_k19ZIPXIEeKjvqrMhLLWTg" type="2008"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_my94YPXIEeKjvqrMhLLWTg" source="Stereotype_Annotation"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qlsXsPksEeK1io5hEcSdZA" key="StereotypeWithQualifiedNameList" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qls-wPksEeK1io5hEcSdZA" key="StereotypeList" value="ExternalResourcesTestProfile::SubProfile::ElementStereotype"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qls-wfksEeK1io5hEcSdZA" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qltl0PksEeK1io5hEcSdZA" key="PropStereoDisplay" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qltl0fksEeK1io5hEcSdZA" key="StereotypePropertyLocation" value="Compartment"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="_k1_OUPXIEeKjvqrMhLLWTg" type="5029"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_k1_1YPXIEeKjvqrMhLLWTg" type="7017"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_k2AccPXIEeKjvqrMhLLWTg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_k2AccfXIEeKjvqrMhLLWTg" key="showTitle" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_k1_1YfXIEeKjvqrMhLLWTg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_k1_1YvXIEeKjvqrMhLLWTg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_k1_1Y_XIEeKjvqrMhLLWTg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_k1_1ZPXIEeKjvqrMhLLWTg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_k1_1ZfXIEeKjvqrMhLLWTg" type="7018"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_k2AccvXIEeKjvqrMhLLWTg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_k2Acc_XIEeKjvqrMhLLWTg" key="showTitle" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_k1_1ZvXIEeKjvqrMhLLWTg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_k1_1Z_XIEeKjvqrMhLLWTg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_k1_1aPXIEeKjvqrMhLLWTg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_k1_1afXIEeKjvqrMhLLWTg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_k1_1avXIEeKjvqrMhLLWTg" type="7019"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_k2BDgPXIEeKjvqrMhLLWTg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_k2BDgfXIEeKjvqrMhLLWTg" key="showTitle" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_k1_1a_XIEeKjvqrMhLLWTg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_k1_1bPXIEeKjvqrMhLLWTg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_k1_1bfXIEeKjvqrMhLLWTg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_k1_1bvXIEeKjvqrMhLLWTg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_k2MpsPXIEeKjvqrMhLLWTg" visible="false" type="compartment_shape_display"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_k2Mps_XIEeKjvqrMhLLWTg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_k2MptPXIEeKjvqrMhLLWTg" key="mutable" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_k2MpsfXIEeKjvqrMhLLWTg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_k2MpsvXIEeKjvqrMhLLWTg"/> + </children> + <element xmi:type="uml:Class" href="oneProfileApplied.uml#_kyl8EPXIEeKjvqrMhLLWTg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_k19ZIfXIEeKjvqrMhLLWTg" x="725" y="180" width="336" height="331"/> + </children> + <styles xmi:type="notation:DiagramStyle" xmi:id="_LLO-QfVCEeKaxaN6QZe_iw"/> + <element xmi:type="uml:Model" href="oneProfileApplied.uml#_LK5nEPVCEeKaxaN6QZe_iw"/> +</notation:Diagram> diff --git a/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/OneResourceforAllProfiles/oneProfileApplied.profiles b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/OneResourceforAllProfiles/oneProfileApplied.profiles new file mode 100644 index 00000000000..8e465a27624 --- /dev/null +++ b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/OneResourceforAllProfiles/oneProfileApplied.profiles @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ExternalResourcesTestProfile="http:///schemas/ExternalResourcesTestProfile/_aPlNkPLZEeKxdJFsMzlLJA/1" xmlns:SubProfile="http://ExternalResourcesTestProfile/schemas/SubProfile/_aPpfAPLZEeKxdJFsMzlLJA/1" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xsi:schemaLocation="http:///schemas/ExternalResourcesTestProfile/_aPlNkPLZEeKxdJFsMzlLJA/1 pathmap://EXTERNAL_RESOURCE_TEST_PATHMAP/ExternalResourcesTestProfile.profile.uml#_aPl0oPLZEeKxdJFsMzlLJA http://ExternalResourcesTestProfile/schemas/SubProfile/_aPpfAPLZEeKxdJFsMzlLJA/1 pathmap://EXTERNAL_RESOURCE_TEST_PATHMAP/ExternalResourcesTestProfile.profile.uml#_aPpfAfLZEeKxdJFsMzlLJA"> + <ExternalResourcesTestProfile:ClassStereotype stringValue="class1Value
"> + <base_Class xmi:type="uml:Class" href="oneProfileApplied.uml#_6e1LAPVEEeKWG-T5DC87Xw"/> + </ExternalResourcesTestProfile:ClassStereotype> + <SubProfile:ElementStereotype stringSimple="Class2Value" intSimple="3"> + <base_Element xmi:type="uml:Class" href="oneProfileApplied.uml#_kyl8EPXIEeKjvqrMhLLWTg"/> + </SubProfile:ElementStereotype> +</xmi:XMI> diff --git a/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/OneResourceforAllProfiles/oneProfileApplied.uml b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/OneResourceforAllProfiles/oneProfileApplied.uml new file mode 100644 index 00000000000..38a4dd005eb --- /dev/null +++ b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/OneResourceforAllProfiles/oneProfileApplied.uml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_LK5nEPVCEeKaxaN6QZe_iw" name="Model"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_ytmUkP2uEeKClrtZiAiidQ" source="http://www.eclipse.org/papyrus/uml/profile/externalresource"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ytmUkf2uEeKClrtZiAiidQ" key="locationStrategy" value="OneResourceOnlyStrategy"/> + </eAnnotations> + <packageImport xmi:type="uml:PackageImport" xmi:id="_LK5nEfVCEeKaxaN6QZe_iw"> + <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/> + </packageImport> + <packagedElement xmi:type="uml:Class" xmi:id="_6e1LAPVEEeKWG-T5DC87Xw" name="Class1"/> + <packagedElement xmi:type="uml:Class" xmi:id="_kyl8EPXIEeKjvqrMhLLWTg" name="Class2"/> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_5JIjYPVEEeKWG-T5DC87Xw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_5JehoPVEEeKWG-T5DC87Xw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="pathmap://EXTERNAL_RESOURCE_TEST_PATHMAP/ExternalResourcesTestProfile.profile.uml#_aPl0oPLZEeKxdJFsMzlLJA"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://EXTERNAL_RESOURCE_TEST_PATHMAP/ExternalResourcesTestProfile.profile.uml#_yW4wUPLPEeKxdJFsMzlLJA"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_5JmdcPVEEeKWG-T5DC87Xw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_5J1G8PVEEeKWG-T5DC87Xw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="pathmap://EXTERNAL_RESOURCE_TEST_PATHMAP/ExternalResourcesTestProfile.profile.uml#_aPpfAfLZEeKxdJFsMzlLJA"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://EXTERNAL_RESOURCE_TEST_PATHMAP/ExternalResourcesTestProfile.profile.uml#_8HJwgPLPEeKxdJFsMzlLJA"/> + </profileApplication> +</uml:Model> diff --git a/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/SimpleTestModel.ExternalResourcesTestProfileProfile b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/SimpleTestModel.ExternalResourcesTestProfileProfile new file mode 100644 index 00000000000..07ce2c43014 --- /dev/null +++ b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/SimpleTestModel.ExternalResourcesTestProfileProfile @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701"/> diff --git a/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/SimpleTestModel.SysMLProfile b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/SimpleTestModel.SysMLProfile new file mode 100644 index 00000000000..4737d17bfb9 --- /dev/null +++ b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/SimpleTestModel.SysMLProfile @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Blocks:Block xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Blocks="http://www.eclipse.org/papyrus/0.7.0/SysML/Blocks" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/0.7.0/SysML/Blocks http://www.eclipse.org/papyrus/0.7.0/SysML#//blocks" xmi:id="_UuaJwPqJEeKrCKXbcChcTw"> + <base_Class xmi:type="uml:Class" href="SimpleTestModel.uml#_kdOGQPLZEeKxdJFsMzlLJA"/> +</Blocks:Block> diff --git a/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/SimpleTestModel.di b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/SimpleTestModel.di new file mode 100644 index 00000000000..f8aefec2d0d --- /dev/null +++ b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/SimpleTestModel.di @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi"> + <pageList> + <availablePage> + <emfPageIdentifier href="SimpleTestModel.notation#_YTWm4PLYEeKxdJFsMzlLJA"/> + </availablePage> + </pageList> + <sashModel currentSelection="//@sashModel/@windows.0/@children.0"> + <windows> + <children xsi:type="di:TabFolder"> + <children> + <emfPageIdentifier href="SimpleTestModel.notation#_YTWm4PLYEeKxdJFsMzlLJA"/> + </children> + </children> + </windows> + </sashModel> +</di:SashWindowsMngr> diff --git a/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/SimpleTestModel.notation b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/SimpleTestModel.notation new file mode 100644 index 00000000000..68b202b2187 --- /dev/null +++ b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/SimpleTestModel.notation @@ -0,0 +1,143 @@ +<?xml version="1.0" encoding="UTF-8"?> +<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_YTWm4PLYEeKxdJFsMzlLJA" type="PapyrusUMLClassDiagram" name="Main" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_djz-cPLZEeKxdJFsMzlLJA" type="2008"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_eth_kPLZEeKxdJFsMzlLJA" source="Stereotype_Annotation"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NaiigPnkEeK6o8XJ3nuIOQ" key="StereotypeWithQualifiedNameList" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NaiigfnkEeK6o8XJ3nuIOQ" key="StereotypeList" value="ExternalResourcesTestProfile::ClassStereotype"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NaiigvnkEeK6o8XJ3nuIOQ" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Naiig_nkEeK6o8XJ3nuIOQ" key="PropStereoDisplay" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NajJkPnkEeK6o8XJ3nuIOQ" key="StereotypePropertyLocation" value="Compartment"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="_djz-cvLZEeKxdJFsMzlLJA" type="5029"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_djz-c_LZEeKxdJFsMzlLJA" type="7017"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_dj9IYPLZEeKxdJFsMzlLJA" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_dj9IYfLZEeKxdJFsMzlLJA" key="showTitle" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_djz-dPLZEeKxdJFsMzlLJA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_djz-dfLZEeKxdJFsMzlLJA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_djz-dvLZEeKxdJFsMzlLJA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_djz-d_LZEeKxdJFsMzlLJA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_dj0lgPLZEeKxdJFsMzlLJA" type="7018"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_dj-9kPLZEeKxdJFsMzlLJA" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_dj-9kfLZEeKxdJFsMzlLJA" key="showTitle" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_dj0lgfLZEeKxdJFsMzlLJA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_dj0lgvLZEeKxdJFsMzlLJA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_dj0lg_LZEeKxdJFsMzlLJA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_dj0lhPLZEeKxdJFsMzlLJA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_dj0lhfLZEeKxdJFsMzlLJA" type="7019"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_dkALsPLZEeKxdJFsMzlLJA" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_dkALsfLZEeKxdJFsMzlLJA" key="showTitle" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_dj0lhvLZEeKxdJFsMzlLJA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_dj0lh_LZEeKxdJFsMzlLJA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_dj0liPLZEeKxdJFsMzlLJA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_dj0lifLZEeKxdJFsMzlLJA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_dkt9YPLZEeKxdJFsMzlLJA" visible="false" type="compartment_shape_display"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_dkt9Y_LZEeKxdJFsMzlLJA" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_dkt9ZPLZEeKxdJFsMzlLJA" key="mutable" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_dkt9YfLZEeKxdJFsMzlLJA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_dkt9YvLZEeKxdJFsMzlLJA"/> + </children> + <element xmi:type="uml:Class" href="SimpleTestModel.uml#_djpmYPLZEeKxdJFsMzlLJA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_djz-cfLZEeKxdJFsMzlLJA" x="55" y="35" width="266"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_fQ5LUPLZEeKxdJFsMzlLJA" type="2008"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_gaKggPLZEeKxdJFsMzlLJA" source="Stereotype_Annotation"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gal-UPLZEeKxdJFsMzlLJA" key="StereotypeWithQualifiedNameList" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gal-UfLZEeKxdJFsMzlLJA" key="StereotypeList" value="ExternalResourcesTestProfile::SubProfile::ElementStereotype,ExternalResourcesTestProfile::ClassStereotype"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gal-UvLZEeKxdJFsMzlLJA" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gal-U_LZEeKxdJFsMzlLJA" key="PropStereoDisplay" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gal-VPLZEeKxdJFsMzlLJA" key="StereotypePropertyLocation" value="Compartment"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="_fQ5LUvLZEeKxdJFsMzlLJA" type="5029"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_fQ5yYPLZEeKxdJFsMzlLJA" type="7017"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_fQ5yb_LZEeKxdJFsMzlLJA" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fQ5ycPLZEeKxdJFsMzlLJA" key="showTitle" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_fQ5yYfLZEeKxdJFsMzlLJA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_fQ5yYvLZEeKxdJFsMzlLJA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_fQ5yY_LZEeKxdJFsMzlLJA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fQ5yZPLZEeKxdJFsMzlLJA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_fQ5yZfLZEeKxdJFsMzlLJA" type="7018"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_fQ6ZcPLZEeKxdJFsMzlLJA" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fQ6ZcfLZEeKxdJFsMzlLJA" key="showTitle" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_fQ5yZvLZEeKxdJFsMzlLJA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_fQ5yZ_LZEeKxdJFsMzlLJA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_fQ5yaPLZEeKxdJFsMzlLJA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fQ5yafLZEeKxdJFsMzlLJA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_fQ5yavLZEeKxdJFsMzlLJA" type="7019"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_fQ6ZcvLZEeKxdJFsMzlLJA" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fQ6Zc_LZEeKxdJFsMzlLJA" key="showTitle" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_fQ5ya_LZEeKxdJFsMzlLJA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_fQ5ybPLZEeKxdJFsMzlLJA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_fQ5ybfLZEeKxdJFsMzlLJA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fQ5ybvLZEeKxdJFsMzlLJA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_fRHNwPLZEeKxdJFsMzlLJA" visible="false" type="compartment_shape_display"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_fRHNw_LZEeKxdJFsMzlLJA" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fRHNxPLZEeKxdJFsMzlLJA" key="mutable" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_fRHNwfLZEeKxdJFsMzlLJA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fRHNwvLZEeKxdJFsMzlLJA"/> + </children> + <element xmi:type="uml:Class" href="SimpleTestModel.uml#_fQs-EPLZEeKxdJFsMzlLJA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fQ5LUfLZEeKxdJFsMzlLJA" x="55" y="155" width="266"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_kdaTgPLZEeKxdJFsMzlLJA" type="2008"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_wE_goPnqEeK6o8XJ3nuIOQ" source="Stereotype_Annotation"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_U2w0gPqJEeKrCKXbcChcTw" key="StereotypeWithQualifiedNameList" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_U2w0gfqJEeKrCKXbcChcTw" key="StereotypeList" value="SysML::Blocks::Block"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_U2w0gvqJEeKrCKXbcChcTw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_U2w0g_qJEeKrCKXbcChcTw" key="PropStereoDisplay" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_U2w0hPqJEeKrCKXbcChcTw" key="StereotypePropertyLocation" value="Compartment"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="_kda6kPLZEeKxdJFsMzlLJA" type="5029"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_kda6kfLZEeKxdJFsMzlLJA" type="7017"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_kdcIsPLZEeKxdJFsMzlLJA" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_kdcIsfLZEeKxdJFsMzlLJA" key="showTitle" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_kda6kvLZEeKxdJFsMzlLJA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_kda6k_LZEeKxdJFsMzlLJA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_kda6lPLZEeKxdJFsMzlLJA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_kda6lfLZEeKxdJFsMzlLJA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_kda6lvLZEeKxdJFsMzlLJA" type="7018"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_kdcvwPLZEeKxdJFsMzlLJA" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_kdcvwfLZEeKxdJFsMzlLJA" key="showTitle" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_kda6l_LZEeKxdJFsMzlLJA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_kda6mPLZEeKxdJFsMzlLJA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_kda6mfLZEeKxdJFsMzlLJA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_kda6mvLZEeKxdJFsMzlLJA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_kdbhoPLZEeKxdJFsMzlLJA" type="7019"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_kdcvwvLZEeKxdJFsMzlLJA" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_kdcvw_LZEeKxdJFsMzlLJA" key="showTitle" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_kdbhofLZEeKxdJFsMzlLJA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_kdbhovLZEeKxdJFsMzlLJA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_kdbho_LZEeKxdJFsMzlLJA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_kdbhpPLZEeKxdJFsMzlLJA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_kdnu4PLZEeKxdJFsMzlLJA" visible="false" type="compartment_shape_display"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_kdnu4_LZEeKxdJFsMzlLJA" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_kdnu5PLZEeKxdJFsMzlLJA" key="mutable" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_kdnu4fLZEeKxdJFsMzlLJA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_kdnu4vLZEeKxdJFsMzlLJA"/> + </children> + <element xmi:type="uml:Class" href="SimpleTestModel.uml#_kdOGQPLZEeKxdJFsMzlLJA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_kdaTgfLZEeKxdJFsMzlLJA" x="55" y="280" width="266" height="104"/> + </children> + <styles xmi:type="notation:DiagramStyle" xmi:id="_YTWm4fLYEeKxdJFsMzlLJA"/> + <element xmi:type="uml:Model" href="SimpleTestModel.uml#_YTUKoPLYEeKxdJFsMzlLJA"/> +</notation:Diagram> diff --git a/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/SimpleTestModel.uml b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/SimpleTestModel.uml new file mode 100644 index 00000000000..d85de22b2a8 --- /dev/null +++ b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/SimpleTestModel.uml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ExternalResourcesTestProfile="http:///schemas/ExternalResourcesTestProfile/_aPlNkPLZEeKxdJFsMzlLJA/1" xmlns:SubProfile="http://ExternalResourcesTestProfile/schemas/SubProfile/_aPpfAPLZEeKxdJFsMzlLJA/1" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xsi:schemaLocation="http:///schemas/ExternalResourcesTestProfile/_aPlNkPLZEeKxdJFsMzlLJA/1 ExternalResourcesTestProfile.profile.uml#_aPl0oPLZEeKxdJFsMzlLJA http://ExternalResourcesTestProfile/schemas/SubProfile/_aPpfAPLZEeKxdJFsMzlLJA/1 ExternalResourcesTestProfile.profile.uml#_aPpfAfLZEeKxdJFsMzlLJA"> + <uml:Model xmi:id="_YTUKoPLYEeKxdJFsMzlLJA" name="SimpleTestModel"> + <packageImport xmi:type="uml:PackageImport" xmi:id="_YTUKofLYEeKxdJFsMzlLJA"> + <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/> + </packageImport> + <packagedElement xmi:type="uml:Class" xmi:id="_djpmYPLZEeKxdJFsMzlLJA" name="ClassStereotypeApplied"/> + <packagedElement xmi:type="uml:Class" xmi:id="_fQs-EPLZEeKxdJFsMzlLJA" name="TwoStereotypesApplied"/> + <packagedElement xmi:type="uml:Class" xmi:id="_kdOGQPLZEeKxdJFsMzlLJA" name="NoStereotype"/> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_9xv7APLYEeKxdJFsMzlLJA"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_9yoEwPLYEeKxdJFsMzlLJA" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="ExternalResourcesTestProfile.profile.uml#_aPl0oPLZEeKxdJFsMzlLJA"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="ExternalResourcesTestProfile.profile.uml#_yW4wUPLPEeKxdJFsMzlLJA"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_9y0SAPLYEeKxdJFsMzlLJA"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_9zjR0PLYEeKxdJFsMzlLJA" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="ExternalResourcesTestProfile.profile.uml#_aPpfAfLZEeKxdJFsMzlLJA"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="ExternalResourcesTestProfile.profile.uml#_8HJwgPLPEeKxdJFsMzlLJA"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_kzznYPqGEeKrCKXbcChcTw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_k0XBAPqGEeKrCKXbcChcTw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//blocks"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_fSw28LX7EduFmqQsrNB9lw"/> + </profileApplication> + </uml:Model> + <ExternalResourcesTestProfile:ClassStereotype xmi:id="_etI-APLZEeKxdJFsMzlLJA" base_Class="_djpmYPLZEeKxdJFsMzlLJA"/> + <SubProfile:ElementStereotype xmi:id="_gZ2-gPLZEeKxdJFsMzlLJA" base_Element="_fQs-EPLZEeKxdJFsMzlLJA"/> + <ExternalResourcesTestProfile:ClassStereotype xmi:id="_gaQAEPLZEeKxdJFsMzlLJA" base_Class="_fQs-EPLZEeKxdJFsMzlLJA" stringValue="wantedValue"/> +</xmi:XMI> diff --git a/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/icons/testProfile.gif b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/icons/testProfile.gif Binary files differnew file mode 100644 index 00000000000..542dddca3f2 --- /dev/null +++ b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/resources/icons/testProfile.gif diff --git a/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/src/org/eclipse/papyrus/uml/profile/externalresource/tests/Activator.java b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/src/org/eclipse/papyrus/uml/profile/externalresource/tests/Activator.java new file mode 100644 index 00000000000..6e3ffab829f --- /dev/null +++ b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/src/org/eclipse/papyrus/uml/profile/externalresource/tests/Activator.java @@ -0,0 +1,62 @@ +/***************************************************************************** + * Copyright (c) 2013 CEA LIST. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Remi Schnekenburger (CEA LIST) - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.uml.profile.externalresource.tests; + +import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle + */ +public class Activator extends AbstractUIPlugin { + + // The plug-in ID + public static final String PLUGIN_ID = "org.eclipse.papyrus.uml.profile.externalresource.tests"; //$NON-NLS-1$ + + // The shared instance + private static Activator plugin; + + /** + * The constructor + */ + public Activator() { + } + + /* + * (non-Javadoc) + * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext) + */ + public void start(BundleContext context) throws Exception { + super.start(context); + plugin = this; + } + + /* + * (non-Javadoc) + * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext) + */ + public void stop(BundleContext context) throws Exception { + plugin = null; + super.stop(context); + } + + /** + * Returns the shared instance + * + * @return the shared instance + */ + public static Activator getDefault() { + return plugin; + } + +} diff --git a/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/src/org/eclipse/papyrus/uml/profile/externalresource/tests/AllTests.java b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/src/org/eclipse/papyrus/uml/profile/externalresource/tests/AllTests.java new file mode 100644 index 00000000000..06a4b841610 --- /dev/null +++ b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/src/org/eclipse/papyrus/uml/profile/externalresource/tests/AllTests.java @@ -0,0 +1,29 @@ +/***************************************************************************** + * Copyright (c) 2013 CEA LIST. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Remi Schnekenburger (CEA LIST) - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.uml.profile.externalresource.tests; + +import org.eclipse.papyrus.uml.profile.externalresource.tests.resourceloading.ResourceLoading; +import org.junit.runner.RunWith; +import org.junit.runners.Suite; +import org.junit.runners.Suite.SuiteClasses; + + +/** + * Main tests suite for this plugin + */ +@RunWith(Suite.class) +@SuiteClasses({ + ResourceLoading.class +}) +public class AllTests { +} diff --git a/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/src/org/eclipse/papyrus/uml/profile/externalresource/tests/resourceloading/ResourceLoading.java b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/src/org/eclipse/papyrus/uml/profile/externalresource/tests/resourceloading/ResourceLoading.java new file mode 100644 index 00000000000..30a277784e4 --- /dev/null +++ b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource.tests/src/org/eclipse/papyrus/uml/profile/externalresource/tests/resourceloading/ResourceLoading.java @@ -0,0 +1,29 @@ +/***************************************************************************** + * Copyright (c) 2013 CEA LIST. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Remi Schnekenburger (CEA LIST) - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.uml.profile.externalresource.tests.resourceloading; + +import static org.junit.Assert.*; + +import org.junit.Test; + + +/** + * Tests on Resource Loading + */ +public class ResourceLoading { + + @Test + public void test() { + fail("Not yet implemented"); + } +} |